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