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.
This commit is contained in:
simon 2017-03-12 17:14:43 +00:00
parent 5d9462b7c3
commit 2f897089fe
17 changed files with 295 additions and 186 deletions

View file

@ -1,26 +1,29 @@
{% extends "templates/base.html" %}
{% block content %}
<div id="content" class="history">
<table>
<tr>
<th>When</th><th>What</th><th>Version</th><th>Changes</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>
<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 %}