diff --git a/rhodecode/templates/changeset/changeset_file_comment.mako b/rhodecode/templates/changeset/changeset_file_comment.mako --- a/rhodecode/templates/changeset/changeset_file_comment.mako +++ b/rhodecode/templates/changeset/changeset_file_comment.mako @@ -7,6 +7,7 @@ <%def name="comment_block(comment, inline=False)"> <% pr_index_ver = comment.get_index_version(getattr(c, 'versions', [])) %> + <% latest_ver = len(getattr(c, 'versions', [])) %> % if inline: <% outdated_at_ver = comment.outdated_at_version(getattr(c, 'at_version_num', None)) %> % else: @@ -103,11 +104,11 @@
+
outdated ${'v{}'.format(pr_index_ver)} |
% elif pr_index_ver:
-
+
${'v{}'.format(pr_index_ver)} |
% endif
@@ -119,10 +120,10 @@