summaryrefslogtreecommitdiff
path: root/src/main/resources/templates/benki/wiki/wikiPageRevisionList.html
blob: 2fd04ebc1cff2ab378165f64544bcf67ee42c00f (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
38
39
40
41
42
{@eu.mulk.mulkcms2.benki.wiki.WikiPage page}
{@java.lang.String title}

{#include base.html}

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

{#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>
      {#with page}
        {#for revision in revisions}
        <tr>
          {#with revision}
            <td>{date.humanDateTime}</td>
            <td>{title}</td>
            <td>{author.firstName}</td>
          {/with}
        </tr>
        {/for}
      {/with}
    </tbody>
  </table>
</main>
{/body}

{/include}