review/web_templates/index.html @ c3a0ea6aa1df webpy-sucks
Make the index page show (practically) all commits.
| author | Steve Losh <steve@stevelosh.com> |
|---|---|
| date | Tue, 02 Mar 2010 21:59:51 -0500 |
| parents | 538a3dada709 |
| children | f936bf37db17 |
{% extends "base.html" %} {% block title %}{% endblock %} {% block content %} <h2>Changesets</h2> <table> {% for rcset in rcsets %} {% set rev = rcset.target[rcset.node] %} {% set node_short = utils['node_short'](rev.node()) %} <tr class="${ loop.parity }"> <td>{{ rev.rev() }}:{{ node_short }}</td> <td> <a href="/review/{{ node_short }}/">{{ rev.description().splitlines()[0] }}</a> </td> <td class="last"> {{ utils['len'](rcset.comments) }} comments, {{ utils['len'](ctx_signoffs) }} signoffs </td> </tr> {% endfor %} </table> {% endblock %} <!-- $ ctx_node = ctx.node() $ ctx_node_short = node_short(ctx_node) $ ctx_comments = rd[ctx_node].comments $ ctx_signoffs = rd[ctx_node].signoffs -->