# HG changeset patch # User Mads Kiilerich # Date 1453250831 -3600 # Node ID 2ed9ddab042fd06537c73cbbe6feccb4d0c06e65 # Parent 7834f845505aec3086f525600c81209a40b495ef comments: fix class of inline comments without context Not really relevant yet(?) but needed for future annotate support. diff -r 7834f845505a -r 2ed9ddab042f kallithea/public/css/style.css --- a/kallithea/public/css/style.css Wed Jan 20 01:47:11 2016 +0100 +++ b/kallithea/public/css/style.css Wed Jan 20 01:47:11 2016 +0100 @@ -4139,8 +4139,7 @@ } .comments-number { - margin: 5px; - padding: 0px 0px 10px 0px; + padding: 0px 20px 10px; font-weight: bold; color: #666; font-size: 16px; diff -r 7834f845505a -r 2ed9ddab042f kallithea/templates/changeset/changeset_file_comment.html --- a/kallithea/templates/changeset/changeset_file_comment.html Wed Jan 20 01:47:11 2016 +0100 +++ b/kallithea/templates/changeset/changeset_file_comment.html Wed Jan 20 01:47:11 2016 +0100 @@ -126,7 +126,8 @@ ## generate inline comments and the main ones <%def name="generate_comments()"> -
+## original location of comments ... but the ones outside diff context remains here +
%for f_path, lines in c.inline_comments: %for line_no, comments in lines.iteritems():
@@ -137,16 +138,15 @@ %endfor %endfor -
- ${comment_count(c.inline_cnt, len(c.comments))} -
-
%for co in c.comments: ${comment_block(co)} %endfor
+
+ ${comment_count(c.inline_cnt, len(c.comments))} +
## MAIN COMMENT FORM