surwiki/templates/changes.html
2017-10-24 12:27:39 +02:00

37 lines
960 B
HTML

<div class="container">
<header>
<h1>Changes</h1>
</header>
<article>
{{#newer}}<nav><ul class="dense"
><li><a rel="prev" href="{{.more}}">More recent changes</a></li
><li><a rel="first" href="{{.end}}">Most recent changes</a></li
></ul></nav>{{/newer}}
<table>
{{#changes?}}
<tr>
<th>Article</th>
<th>Updated</th>
<th>Author</th>
</tr>
{{/changes}}
{{#changes}}
<tr>
<td><a href="_revisions/{{.article_id}}/{{.revision}}">{{.title}}</a></td>
<td>{{.created}}</td>
<td>{{#.author}}<a href="{{..author_link()}}">{{.}}</a>{{/.author}}{{^.author}}<i>Anonymous</i>{{/.author}}</td>
</tr>
{{/changes}}
</table>
{{^changes?}}
<p>No hits</p>
{{/changes}}
{{#older}}<nav><ul class="dense"
><li><a rel="next" href="{{.more}}">Older changes</a></li
><li><a rel="last" href="{{.end}}">First changes</a></li
></ul></nav>{{/older}}
</article>
</div>
{{>footer/default.html}}