diff options
Diffstat (limited to 'src/main/resources/templates/benki/wiki/wikiPageRevisionList.html')
-rw-r--r-- | src/main/resources/templates/benki/wiki/wikiPageRevisionList.html | 21 |
1 files changed, 7 insertions, 14 deletions
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 @@ </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} + {#for revision in page.revisions} + <tr> + <td>{revision.date.humanDateTime}</td> + <td>{revision.title}</td> + <td>{revision.author.firstName}</td> + </tr> + {/for} </tbody> </table> </main> |