review/web_templates/review.html @ f8adc5c231f3
webui
Add a footer.
author |
Steve Losh <steve@stevelosh.com> |
date |
Wed, 14 Oct 2009 19:39:07 -0400 |
parents |
efc3c9173ce1 |
children |
5c62a1333e54 |
$def with (rd, rcset)
$ ctx = rd.target[rcset.node]
<h2>Changeset ${ ctx.rev() }: ${ ctx.description() }</h2>
$for filename, diff in rcset.diffs().iteritems():
<h3>${ filename }</h3>
<div class="diff">
<table>
$ max_line = diff['max']
$ content = diff['content']
$for n, line in content:
$ kind = 'rem' if line[0] == '-' else 'add' if line[0] == '+' else ''
<tr class="${ kind }">
<td class="diff-line"><code>${ line[1:] or ' ' }</code></td>
</tr>
</table>