surwiki/templates/changes.html

49 lines
1.4 KiB
HTML
Raw Normal View History

2017-10-03 11:37:18 +03:00
<div class="container">
<header>
<h1>Changes</h1>
</header>
<article>
<p>
These are the {{^newer}}most recent{{/newer}} changes that have been
2017-10-24 13:59:37 +03:00
made to{{{subject_clause()}}}{{#author()}} by {{.}}{{/author()}}.
</p>
<nav><ul class="dense">
{{#all_articles_link()}}<li><a href="{{.}}">All articles</a></li>{{/all_articles_link()}}
{{#all_authors_link()}}<li><a href="{{.}}">All authors</a></li>{{/all_authors_link()}}
</ul></nav>
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>
2017-10-24 13:27:39 +03:00
<td>{{#.author}}<a href="{{..author_link()}}">{{.}}</a>{{/.author}}{{^.author}}<i>Anonymous</i>{{/.author}}</td>
2017-10-03 11:37:18 +03:00
</tr>
{{/changes}}
</table>
{{^changes?}}
<p>There are no changes to show.</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}}
{{#changes?}}{{^older}}<p>There are no older changes.</p>{{/older}}{{/changes}}
2017-10-03 11:37:18 +03:00
</article>
</div>
2017-10-13 16:25:44 +03:00
{{>footer/default.html}}