diff options
author | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | 2020-01-26 08:05:27 +0100 |
---|---|---|
committer | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | 2020-01-26 08:11:48 +0100 |
commit | 0aac7c559d87de940238c91ff06c1d225d489ec5 (patch) | |
tree | 56c83e013bc794e2c2c3fd75a9174e9ff4bb45cc /src/main/resources/templates/benki/wiki/wikiPageRevisionList.html | |
parent | acac08ebf1f65a73503f56ac47892257026275ff (diff) |
Add wiki page revision list.
Change-Id: I21a6ff469ef4dbf64a8d77eb4626765ae43ed37e
Diffstat (limited to 'src/main/resources/templates/benki/wiki/wikiPageRevisionList.html')
-rw-r--r-- | src/main/resources/templates/benki/wiki/wikiPageRevisionList.html | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/src/main/resources/templates/benki/wiki/wikiPageRevisionList.html b/src/main/resources/templates/benki/wiki/wikiPageRevisionList.html new file mode 100644 index 0000000..c44a6e5 --- /dev/null +++ b/src/main/resources/templates/benki/wiki/wikiPageRevisionList.html @@ -0,0 +1,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 — {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} |