smeagol/resources/templates/history.html
simon 2f897089fe #15: Fix
Rather nice and satisfactory. Slightly conflates the issue of configuration and internationalisation at present, but I think internationalisation is a target to hit as a separate job.
2017-03-12 17:14:43 +00:00

29 lines
772 B
HTML

{% extends "templates/base.html" %}
{% block content %}
<div id="content" class="history">
<table>
<tr>
<th>{{config.when-col-hdr}}</th>
<th>{{config.what-col-hdr}}</th>
<th>{{config.vers-col-hdr}}</th>
<th>{{config.change-col-hdr}}</th>
</tr>
{% for entry in history %}
<tr>
<td>S
{{entry.time}}
</td>
<td>
{{entry.message}}
</td>
<td>
<a href="version?page={{page}}&amp;version={{entry.id}}">Show version</a>
</td>
<td>
<a href="changes?page={{page}}&amp;version={{entry.id}}">What's changed since?</a>
</td>
</tr>
{% endfor %}
</table>
</div>
{% endblock %}