# HG changeset patch # User Daniel Dourvaris # Date 2020-07-02 08:12:05 # Node ID 5a8d42ccf0e6fc4d90466df9a910a3dfb581d483 # Parent d143e1d9a7a7da7e63afcbf71a5bb6b59a3c4258 comments: fixed line display icons. 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 @@ -680,9 +680,9 @@ def get_comments_for(diff_type, comments %if line_old_comments: <% has_outdated = any([x.outdated for x in line_old_comments]) %> % if has_outdated: - + % else: - + % endif %endif @@ -721,11 +721,12 @@ def get_comments_for(diff_type, comments <% line_new_comments = None%> %endif %if line_new_comments: + <% has_outdated = any([x.outdated for x in line_new_comments]) %> % if has_outdated: - + % else: - + % endif %endif @@ -779,9 +780,9 @@ def get_comments_for(diff_type, comments % if comments: <% has_outdated = any([x.outdated for x in comments]) %> % if has_outdated: - + % else: - + % endif % endif