diff --git a/rhodecode/templates/changelog/changelog.html b/rhodecode/templates/changelog/changelog.html --- a/rhodecode/templates/changelog/changelog.html +++ b/rhodecode/templates/changelog/changelog.html @@ -7,12 +7,8 @@ ${_('%s Changelog') % c.repo_name} - ${c %def> <%def name="breadcrumbs_links()"> - ${h.link_to(_(u'Home'),h.url('/'))} - » - ${h.repo_link(c.rhodecode_db_repo.groups_and_repo)} - » <% size = c.size if c.size <= c.total_cs else c.total_cs %> - ${_('changelog')} - ${ungettext('showing %d out of %d revision', 'showing %d out of %d revisions', size) % (size, c.total_cs)} + ${_('Changelog')} - ${ungettext('showing %d out of %d revision', 'showing %d out of %d revisions', size) % (size, c.total_cs)} %def> <%def name="page_nav()"> @@ -20,6 +16,7 @@ ${_('%s Changelog') % c.repo_name} - ${c %def> <%def name="main()"> +${self.context_bar('changelog')}
|
${h.checkbox(cs.raw_id,class_="changeset_range")}
- ${cs.revision}:${h.short_id(cs.raw_id)}
-
-
- ${h.fmt_date(cs.date)}
-
-
-
-
-
-
-
- ${len(cs.affected_files)}
+ |
+
+ |
+ + + ${h.short_id(cs.raw_id)} + + | +
+ ${h.age(cs.date,True)}
+ |
+
+
+
+
+
+
+
+
+ %if c.comments.get(cs.raw_id,[]):
- %if cs.parents:
- %for p_cs in reversed(cs.parents):
-
- %if len(c.comments.get(cs.raw_id,[])) > 0:
-
-
-
-
- %endif
${len(c.comments[cs.raw_id])}
- ${_('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)}
+ %endif
+ %if h.is_hg(c.rhodecode_repo):
+ %for book in cs.bookmarks:
+
-
+ ${h.link_to(h.shorter(book),h.url('files_home',repo_name=c.repo_name,revision=cs.raw_id))}
+
+ %endfor
+ %endif
+ %for tag in cs.tags:
+
+ ${h.link_to(h.shorter(tag),h.url('files_home',repo_name=c.repo_name,revision=cs.raw_id))}
%endfor
- %else:
- ${_('No parents')}
- %endif
-
-
- |
+