diff --git a/rhodecode/templates/codeblocks/source.mako b/rhodecode/templates/codeblocks/source.mako --- a/rhodecode/templates/codeblocks/source.mako +++ b/rhodecode/templates/codeblocks/source.mako @@ -9,7 +9,7 @@ %>
- r${c.source_commit.revision}:${h.short_id(c.source_commit.raw_id)}...r${c.target_commit.revision}:${h.short_id(c.target_commit.raw_id)}
+ r${c.source_commit.idx}:${h.short_id(c.source_commit.raw_id)}...r${c.target_commit.idx}:${h.short_id(c.target_commit.raw_id)}
% endif
diff --git a/rhodecode/templates/files/files_browser.mako b/rhodecode/templates/files/files_browser.mako
--- a/rhodecode/templates/files/files_browser.mako
+++ b/rhodecode/templates/files/files_browser.mako
@@ -8,7 +8,7 @@
- r${node.last_commit.revision}:${node.last_commit.short_id}+
r${node.last_commit.idx}:${node.last_commit.short_id}
- r${commit.revision}:${h.short_id(commit.raw_id)}
+ r${commit.idx}:${h.short_id(commit.raw_id)}
${h.hidden('revisions', commit.raw_id)}