diff --git a/rhodecode/templates/codeblocks/diffs.mako b/rhodecode/templates/codeblocks/diffs.mako --- a/rhodecode/templates/codeblocks/diffs.mako +++ b/rhodecode/templates/codeblocks/diffs.mako @@ -520,7 +520,12 @@ from rhodecode.lib.diffs import NEW_FILE >
%if line.original.comments: - + <% has_outdated = any([x.outdated for x in line.original.comments]) %> + % if has_outdated: + + % else: + + % endif %endif
@@ -550,7 +555,12 @@ from rhodecode.lib.diffs import NEW_FILE >
%if line.modified.comments: - + <% has_outdated = any([x.outdated for x in line.modified.comments]) %> + % if has_outdated: + + % else: + + % endif %endif
@@ -592,9 +602,14 @@ from rhodecode.lib.diffs import NEW_FILE
- %if comments: - - %endif + % if comments: + <% has_outdated = any([x.outdated for x in comments]) %> + % if has_outdated: + + % else: + + % endif + % endif