# HG changeset patch # User Steve Losh # Date 1256253754 14400 # Node ID a3ad666367563f79cf343723e5bdc85b63669e21 # Parent 2e65351af70289fd5a93433cf4cedb8536db0785 Show skipped-line comments. diff -r 2e65351af702 -r a3ad66636756 review/web_templates/review.html --- a/review/web_templates/review.html Thu Oct 22 19:08:08 2009 -0400 +++ b/review/web_templates/review.html Thu Oct 22 19:22:34 2009 -0400 @@ -69,6 +69,15 @@ … skipped ${ skipped_count } lines … + $ skipped_comments = filter(lambda c: max(c.lines) in range(previous_n + 1, n), line_level_comments) + $for comment in skipped_comments: + +
+
+ +
${ comment.message }
+
+ $ kind = 'rem' if line[0] == '-' else 'add' if line[0] == '+' else 'con' ${ line[1:] or ' ' }