25:52cac2f85af5
Anton Shestakov <av6@dwimlabs.net>, 2016-06-15
viewer: the two existing UI modules can just use positional arguments

next change 26:8c1ce7d12350
previous change 24:16c6f6907c16

templates/index.html

Other formats: Feeds:
Inserted Replaced Deleted
24:16c6f6907c16 25:52cac2f85af5
<tbody> <tbody>
{% for check in checks %} {% for check in checks %}
{% set project = check.project %} {% set project = check.project %}
{% set change = check.change %} {% set change = check.change %}
<tr> <tr>
<td>{% module Badges(check=check) %}</td> <td>{% module Badges(check) %}</td>
<td> <td>
<a href="/{{ project.domain }}/{{ project.user or '-' }}/{{ project.name }}/{{ check.ordinal }}"> <a href="/{{ project.domain }}/{{ project.user or '-' }}/{{ project.name }}/{{ check.ordinal }}">
#{{ check.ordinal }} #{{ check.ordinal }}
</a> </a>
</td> </td>
<a href="/{{ project.domain }}/{{ project.user or '-' }}/{{ project.name }}"> <a href="/{{ project.domain }}/{{ project.user or '-' }}/{{ project.name }}">
{{ project.name }} {{ project.name }}
</a> </a>
</td> </td>
<td>{{ change.rev }}:{{ change.node[:12] }} {{ change.branch }}</td> <td>{{ change.rev }}:{{ change.node[:12] }} {{ change.branch }}</td>
<td>{% module Time(value=check.started) %}</td> <td>{% module Time(check.started) %}</td>
<td>{% module Time(value=check.finished) %}</td> <td>{% module Time(check.finished) %}</td>
<td>{{ check.finished - check.started }}</td> <td>{{ check.finished - check.started }}</td>
</tr> </tr>
{% end %} {% end %}
</tbody> </tbody>
</table> </table>