Changeset - 74bbfdd47884
[Not reviewed]
beta
0 4 0
Marcin Kuzminski - 15 years ago 2010-11-03 16:09:12
marcin@python-works.com
Small fixes for style.
Added scm type for changeset.
Fixed raw changeset
4 files changed with 11 insertions and 7 deletions:
0 comments (0 inline, 0 general)
rhodecode/controllers/changeset.py
Show inline comments
 
@@ -135,7 +135,9 @@ class ChangesetController(BaseController
 
        hg_model = HgModel()
 
        method = request.GET.get('diff', 'show')
 
        try:
 
            c.changeset = hg_model.get_repo(c.repo_name).get_changeset(revision)
 
            r = hg_model.get_repo(c.repo_name)
 
            c.scm_type = r.alias
 
            c.changeset = r.get_changeset(revision)
 
        except RepositoryError:
 
            log.error(traceback.format_exc())
 
            return redirect(url('home'))
rhodecode/public/css/style.css
Show inline comments
 
@@ -2312,8 +2312,10 @@ padding:0 !important;
 
}
 
 
#q_filter{
 
border: 0px;
 
border:0 none;
 
color:#CDCDCD;
 
padding-left:3px
 
margin-bottom:-4px;
 
margin-top:-4px;
 
padding-left:3px;
 
}
 
rhodecode/templates/changelog/changelog.html
Show inline comments
 
@@ -46,7 +46,7 @@ ${c.repo_name} ${_('Changelog')} - ${c.r
 
				%for cnt,cs in enumerate(c.pagination):
 
					<div id="chg_${cnt+1}" class="container">
 
						<div class="left">
 
							<div class="date">${_('commit')} ${cs.revision}: ${cs.raw_id}@${cs.date}</div>
 
							<div class="date">${_('commit')} ${cs.revision}: ${h.short_id(cs.raw_id)}@${cs.date}</div>
 
							<div class="author">
 
								<div class="gravatar">
 
									<img alt="gravatar" src="${h.gravatar_url(h.email(cs.author),20)}"/>
 
@@ -69,7 +69,7 @@ ${c.repo_name} ${_('Changelog')} - ${c.r
 
										%endif
 
								   %if cs.parents:							
 
									%for p_cs in reversed(cs.parents):
 
										<div class="parent">${_('Parent')} ${p_cs.revision}: ${h.link_to(p_cs.raw_id,
 
										<div class="parent">${_('Parent')} ${p_cs.revision}: ${h.link_to(h.short_id(p_cs.raw_id),
 
											h.url('changeset_home',repo_name=c.repo_name,revision=p_cs.raw_id),title=p_cs.message)}
 
										</div>
 
									%endfor
rhodecode/templates/changeset/raw_changeset.html
Show inline comments
 
# c.scm_type changeset patch
 
# ${c.scm_type} changeset patch
 
# User ${c.changeset.author|n}
 
# Date ${"%d %d" % c.changeset.date}
 
# Date ${c.changeset.date}
 
# Node ID ${c.changeset.raw_id}
 
# ${c.parent_tmpl}
 
${c.changeset.message}
0 comments (0 inline, 0 general)