surwiki/templates/changes.html

38 lines
1,004 B
HTML
Raw Normal View History

2017-10-03 11:37:18 +03:00
<div class="container">
<header>
<h1>Changes</h1>
</header>
<article>
2017-10-22 13:36:19 +03:00
{{#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}}
2017-10-03 11:37:18 +03:00
<table>
{{#changes?}}
2017-10-03 11:37:18 +03:00
<tr>
2017-10-03 23:31:27 +03:00
<th>Article</th>
<th>Updated</th>
<th>Author</th>
2017-10-03 11:37:18 +03:00
</tr>
{{/changes}}
2017-10-03 11:37:18 +03:00
{{#changes}}
<tr>
<td><a href="_revisions/{{.article_id}}/{{.revision}}">{{.title}}</a></td>
2017-10-03 11:37:18 +03:00
<td>{{.created}}</td>
<td>{{#.author}}<a href="_changes?before={{..sequence_number_plus_one}}&amp;author={{.}}">{{.}}</a>{{/.author}}{{^.author}}<i>Anonymous</i>{{/.author}}</td>
2017-10-03 11:37:18 +03:00
</tr>
{{/changes}}
</table>
{{^changes?}}
<p>No hits</p>
{{/changes}}
2017-10-22 13:36:19 +03:00
{{#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}}
2017-10-03 11:37:18 +03:00
</article>
</div>
2017-10-13 16:25:44 +03:00
{{>footer/default.html}}