summaryrefslogtreecommitdiff
path: root/src/main/resources/templates/benki/wiki/wikiPageRevisionList.html
blob: eb64ff9d9098dc49b6899212360afff5ace49d24 (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}

{#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}