review/web_templates/index.html @ 83f2e11a22be webui

Display skipped comments on the last hunk in the web UI.
author Steve Losh <steve@stevelosh.com>
date Sat, 06 Feb 2010 06:51:10 -0500
parents 93baa16777e9
children 8e18e2c40a06
$def with (rd, revs)

<h2>Changesets</h2>
<table>
    $for ctx in revs:
        $ ctx_node = ctx.node()
        $ ctx_node_short = node_short(ctx_node)
        $ ctx_comments = rd[ctx_node].comments
        $ ctx_signoffs = rd[ctx_node].signoffs
        <tr class="${ loop.parity }">
            <td>${ ctx.rev() }:${ ctx_node_short }</td>
            <td>
                <a href="/review/${ ctx_node_short }/">${ ctx.description() }</a>
            </td>
            <td class="last">${ len(ctx_comments) } comments,
                ${ len(ctx_signoffs) } signoffs</td>
        </tr>
</table>