surwiki/templates/changes.html

41 lines
1.5 KiB
HTML
Raw Normal View History

<p>
These are the {{^newer}}most recent{{/newer}} changes
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>
{{#show_authors?}}<th>Author</th>{{/show_authors}}
<th></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>
{{#show_authors?}}<td>{{#..author}}<a href="{{...author_link()}}">{{.}}</a>{{/..author}}{{^..author}}<i>Anonymous</i>{{/..author}}</td>{{/show_authors}}
<td>{{#.diff_link}}<a href="{{.}}">change</a>{{/.diff_link}}{{^.diff_link}}new{{/.diff_link}}</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}}