mirror of
https://github.com/journeyman-cc/smeagol.git
synced 2026-04-12 18:05:06 +00:00
First bit of History feature working, general look and feel much improved.
This commit is contained in:
parent
eb5b82fbca
commit
58389072a2
7 changed files with 43 additions and 44 deletions
|
|
@ -1,22 +1,12 @@
|
|||
{% 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">
|
||||
<div id="content" class="history">
|
||||
<table>
|
||||
<tr>
|
||||
<th>Who</th><th>When</th><th>What</th><th>Which</th>
|
||||
<th>When</th><th>What</th><th>Version</th><th>Changes</th>
|
||||
</tr>
|
||||
{% for entry in history %}
|
||||
<tr>
|
||||
<td>
|
||||
<a href="mailto:{{entry.email}}">{{entry.author}}</a>
|
||||
</td>
|
||||
<td>
|
||||
{{entry.time}}
|
||||
</td>
|
||||
|
|
@ -24,9 +14,13 @@
|
|||
{{entry.message}}
|
||||
</td>
|
||||
<td>
|
||||
{{entry.id}}
|
||||
<a href="history-version?id={{entry.id}}">Show version</a>
|
||||
</td>
|
||||
<td>
|
||||
<a href="history-changes?id={{entry.id}}">What's changed?</a>
|
||||
</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue