mirror of
https://github.com/journeyman-cc/smeagol.git
synced 2026-04-12 18:05:06 +00:00
Added the raw basis for history browsing - doesn't work yet, but
doesn't affect the user interface either.
This commit is contained in:
parent
c749012459
commit
4444664bdf
3 changed files with 74 additions and 1 deletions
32
resources/templates/history.html
Normal file
32
resources/templates/history.html
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
{% extends "templates/base.html" %}
|
||||
{% block content %}
|
||||
<div id="header" class="wiki">
|
||||
<h1>{{title}}</h1>
|
||||
{{header|safe}}
|
||||
</div>
|
||||
<div id="left-bar" class="wiki">
|
||||
{{left-bar|safe}}
|
||||
</div>
|
||||
<div id="content" class="wiki">
|
||||
<table>
|
||||
<tr>
|
||||
<th>Who</th><th>When</th><th>What</th><th>Which</th>
|
||||
</tr>
|
||||
{% for entry in history %}
|
||||
<tr>
|
||||
<td>
|
||||
<a href="mailto:{{entry.email}}">{{entry.author}}</a>
|
||||
</td>
|
||||
<td>
|
||||
{{entry.time}}
|
||||
</td>
|
||||
<td>
|
||||
{{entry.message}}
|
||||
</td>
|
||||
<td>
|
||||
{{entry.id}}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
{% endblock %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue