summaryrefslogtreecommitdiff
path: root/src/main/resources/templates/benki/wiki/wikiPageRevisionList.html
blob: ca84fcbfab3e066651dd55fcd031e6cf9557c179 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{#include base.html}

{#title}Revisions — {title} — Benki Wiki{/title}
{#siteSection}Wiki{/siteSection}
{#wikiClass}this-page{/wikiClass}

{#nav}{#navbar siteSection="Wiki" /}

{#body}
<header>
  <h1>Revisions &#8212; <a href="/wiki/{title}">{title}</a></h1>
</header>

<main>
  <table>
    <thead>
      <tr>
        <th>Date</th>
        <th>Title</th>
        <th>Author</th>
      </tr>
    </thead>

    <tbody>
      {#for revision in page.revisions}
      <tr>
        <td>{revision.date.humanDateTime}</td>
        <td>{revision.title}</td>
        <td>{revision.author.firstName}</td>
      </tr>
      {/for}
    </tbody>
  </table>
</main>
{/body}

{/include}