# HG changeset patch # User Milka Kuzminski # Date 2020-10-30 08:52:06 # Node ID a93511d11b9ea103dea81ee5dc19f8599c578468 # Parent e8a9a30e20937d71175a5ab4293c003839beda05 comments: fixed display of outdated comments at version 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 @@ -636,11 +636,12 @@ return '%s_%s_%i' % (h.md5_safe(commit+f extra_class = '' extra_style = '' - if comments and comments[-1].outdated: + if comments and comments[-1].outdated_at_version(c.at_version_num): extra_class = ' comment-outdated' extra_style = 'display: none;' %> +