]> gitweb.factorcode.org Git - factor.git/blob - extra/webapps/wiki/revisions-common.xml
1a6c8e467311b4732f3cb56c16d40d3181ed2c8a
[factor.git] / extra / webapps / wiki / revisions-common.xml
1 <?xml version='1.0' ?>
2
3 <t:chloe xmlns:t="http://factorcode.org/chloe/1.0">
4
5         <div class="revisions">
6
7                 <table>
8
9                         <tr>
10                                 <th>Article</th>
11                                 <th>Date</th>
12                                 <th>By</th>
13                                 <th>Description</th>
14                                 <th>Rollback</th>
15                         </tr>
16
17                         <t:bind-each t:name="revisions">
18                                 <tr>
19                                         <td> <t:a t:href="$wiki/view" t:rest="title"><t:label t:name="title" /></t:a> </td>
20                                         <td> <t:a t:href="$wiki/revision" t:rest="id" rel="nofollow"><t:label t:name="date" /></t:a> </td>
21                                         <td> <t:a t:href="$wiki/user-edits" t:rest="author"><t:label t:name="author" /> </t:a></td>
22                                         <td> <t:label t:name="description" /> </td>
23                                         <td> <t:button class="link link-button" t:action="$wiki/rollback" t:for="id">Rollback</t:button> </td>
24                                 </tr>
25                         </t:bind-each>
26
27                 </table>
28
29         </div>
30
31         <t:call-next-template />
32
33 </t:chloe>