diff options
Diffstat (limited to 'src/main/resources/templates')
-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} |