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

{#include base.html}

{#title}Revisions — {title} — Benki Wiki{/title}

{#body}
<header>
  <h1>Revisions &#8212; {title}</h1>
</header>

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

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

{/include}