From 49b01519bbfcd4219ce77ff9ef7497d4ab1458e0 Mon Sep 17 00:00:00 2001 From: Matthias Andreas Benkard Date: Mon, 5 Jul 2021 06:45:54 +0200 Subject: KB66 Use type-safe templates everywhere. Change-Id: I879e76e5bbaf91349f6df4637d9dc15291a3ada1 --- .../templates/benki/wiki/wikiPageRevisionList.html | 21 +++++++-------------- 1 file changed, 7 insertions(+), 14 deletions(-) (limited to 'src/main/resources/templates/benki/wiki/wikiPageRevisionList.html') diff --git a/src/main/resources/templates/benki/wiki/wikiPageRevisionList.html b/src/main/resources/templates/benki/wiki/wikiPageRevisionList.html index eacad4b..ca84fcb 100644 --- a/src/main/resources/templates/benki/wiki/wikiPageRevisionList.html +++ b/src/main/resources/templates/benki/wiki/wikiPageRevisionList.html @@ -1,6 +1,3 @@ -{@eu.mulk.mulkcms2.benki.wiki.WikiPage page} -{@java.lang.String title} - {#include base.html} {#title}Revisions — {title} — Benki Wiki{/title} @@ -25,17 +22,13 @@ - {#with page} - {#for revision in revisions} - - {#with revision} - {date.humanDateTime} - {title} - {author.firstName} - {/with} - - {/for} - {/with} + {#for revision in page.revisions} + + {revision.date.humanDateTime} + {revision.title} + {revision.author.firstName} + + {/for} -- cgit v1.2.3