diff rhodecode/templates/changelog/changelog.html @ 648:74bbfdd47884 beta

Small fixes for style. Added scm type for changeset. Fixed raw changeset
author Marcin Kuzminski <marcin@python-works.com>
date Wed, 03 Nov 2010 16:09:12 +0100
parents ffd07396d315
children ae292c3b94ed
line wrap: on
line diff
--- a/rhodecode/templates/changelog/changelog.html	Wed Nov 03 01:48:04 2010 +0100
+++ b/rhodecode/templates/changelog/changelog.html	Wed Nov 03 16:09:12 2010 +0100
@@ -46,7 +46,7 @@
 				%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 @@
 										%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