# HG changeset patch # User Marcin Kuzminski # Date 2016-12-22 22:59:50 # Node ID 3ced34b97578837a1a7c80bd69946079f15681d4 # Parent 8e9f93ec94b2214b5c48738fd3af551a41e2b5ef inline-comments: render outdated comments that don't fit to current context. Using versioning PR api now we can always show them since they are pinned into a pull request version. diff --git a/rhodecode/templates/codeblocks/diffs.html b/rhodecode/templates/codeblocks/diffs.html --- a/rhodecode/templates/codeblocks/diffs.html +++ b/rhodecode/templates/codeblocks/diffs.html @@ -238,6 +238,34 @@ collapse_all = len(diffset.files) > coll %endif %endfor + + % for lineno, comments in filediff.left_comments.items(): + + %if c.diffmode == 'unified': + + + + + + ${inline_comments_container(comments)} + + + %elif c.diffmode == 'sideside': + + + + + + + + + ${inline_comments_container(comments)} + + + %endif + + % endfor + %endfor