diff --git a/rhodecode/templates/changeset/changeset.html b/rhodecode/templates/changeset/changeset.html --- a/rhodecode/templates/changeset/changeset.html +++ b/rhodecode/templates/changeset/changeset.html @@ -18,12 +18,6 @@ ${self.menu('changelog')} -<%def name="fid(raw_id,path)" filter="strip"> - <% - return 'C-%s-%s' % (h.short_id(raw_id),h.safeid(h.safe_unicode(path))) - %> - - <%def name="main()">
@@ -33,19 +27,24 @@
-
- ${h.link_to(_('raw diff'), - h.url('raw_changeset_home',repo_name=c.repo_name,revision=c.changeset.raw_id,diff='show'))} - » ${h.link_to(_('download diff'), - h.url('raw_changeset_home',repo_name=c.repo_name,revision=c.changeset.raw_id,diff='download'))} -
${len(c.comments)} comment(s) (${c.inline_cnt} ${_('inline')})
-
+
${_('commit')} ${c.changeset.revision}:${h.short_id(c.changeset.raw_id)} ${c.changeset.date}
+
+ diff-menu + +
+
${len(c.comments)} comment(s) (${c.inline_cnt} ${_('inline')})
-
${_('commit')} ${c.changeset.revision}: ${h.short_id(c.changeset.raw_id)}@${c.changeset.date}
gravatar @@ -100,9 +99,9 @@
%if change != 'removed': - ${h.link_to(h.safe_unicode(filenode.path),h.url.current(anchor=self.fid(filenode.changeset.raw_id,filenode.path)))} + ${h.link_to(h.safe_unicode(filenode.path),c.anchor_url(filenode.changeset.raw_id,filenode.path))} %else: - ${h.link_to(h.safe_unicode(filenode.path),h.url.current(anchor=self.fid('',filenode.path)))} + ${h.link_to(h.safe_unicode(filenode.path),h.url.current(anchor=h.FID('',filenode.path)))} %endif
${h.fancy_file_stats(stat)}
@@ -118,8 +117,8 @@ %for change,filenode,diff,cs1,cs2,stat in c.changes: %if change !='removed': -
-
+
+
@@ -133,13 +132,15 @@
  • ${h.link_to(_('diff'),h.url('files_diff_home',repo_name=c.repo_name,f_path=h.safe_unicode(filenode.path),diff2=cs2,diff1=cs1,diff='diff'))}
  • ${h.link_to(_('raw diff'),h.url('files_diff_home',repo_name=c.repo_name,f_path=h.safe_unicode(filenode.path),diff2=cs2,diff1=cs1,diff='raw'))}
  • ${h.link_to(_('download diff'),h.url('files_diff_home',repo_name=c.repo_name,f_path=h.safe_unicode(filenode.path),diff2=cs2,diff1=cs1,diff='download'))}
  • +
  • ${c.ignorews_url(h.FID(filenode.changeset.raw_id,filenode.path))}
  • +
  • ${c.context_url(h.FID(filenode.changeset.raw_id,filenode.path))}
  • @@ -164,7 +165,7 @@
    ${len(c.comments)} comment(s) (${c.inline_cnt} ${_('inline')})
    %for path, lines in c.inline_comments: -