smeagol/resources/templates/history.html
Simon Brooke bc0dd75081 Apart from writing a diff2html transform and maybe adding a user-admin
page, I'd say this is feature complete. Good enough for me, anyway!
2015-01-11 15:02:08 +00:00

31 lines
968 B
HTML

{% 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>
<tr>
<td>Now</td><td></td>
<td><a href="wiki?content={{page}}">[current]</a></td>
<td>[no changes]</td>
<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?</a>
</td>
</tr>
{% endfor %}
</table>
</div>
{% endblock %}