Mercurial > wikked
view static/tpl/special-changes.html @ 124:6c261cb94631
Fixed wiki history page and API endpoint.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Sat, 23 Nov 2013 13:35:37 -0800 |
parents | 74eb145eb839 |
children | 9079fb01abb8 |
line wrap: on
line source
<article> <header> <h1>Wiki History</h1> </header> <section> <p>Here are the recent changes on this wiki.</p> <form> <table class="table table-hover"> <thead> <tr> <th>Revision</th> <th>Information</th> </tr> </thead> <tbody> {{#eachr history}} <tr> <td>{{rev_name}}</td> <td> <dl class="dl-horizontal"> <dt>Date</dt> <dd>{{date_from_now timestamp}}</dd> <dt>Author</dt> <dd>{{author}}</dd> <dt>Pages</dt> <dd> <ul class="unstyled"> {{#each changes}} <li> {{#if valid_url}} <a href="{{get_read_url url}}">{{url}}</a> {{else}} <code>{{url}}</code> {{/if}} {{#if is_edit}}(edit) {{/if}} {{#if is_add}}(added) {{/if}} {{#if is_delete}}(deleted) {{/if}} </li> {{/each}} </ul> </dd> <dt>Comment</dt> <dd>{{description}}</dd> </dl> </td> </tr> {{/eachr}} </tbody> </table> </form> </section> </article>