diff options
author | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | 2020-02-09 20:02:20 +0100 |
---|---|---|
committer | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | 2020-02-09 20:02:20 +0100 |
commit | 94b5e7b4c85a4bde4848bf3d85c1adc7cd73acc6 (patch) | |
tree | 4d6ddb89267a18bf935acc195fe0ca1922835ab5 /src/main/resources/templates/benki/lazychat | |
parent | 62416de64d7fa2dda4dd12777a7698a7a5d0c199 (diff) |
Lafargue: Implement basic viewer.
Change-Id: If24f58aa069a14139454708d02ac40109c2181ef
Diffstat (limited to 'src/main/resources/templates/benki/lazychat')
-rw-r--r-- | src/main/resources/templates/benki/lazychat/lazychatList.html | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/src/main/resources/templates/benki/lazychat/lazychatList.html b/src/main/resources/templates/benki/lazychat/lazychatList.html new file mode 100644 index 0000000..ecac7a7 --- /dev/null +++ b/src/main/resources/templates/benki/lazychat/lazychatList.html @@ -0,0 +1,32 @@ +{@java.util.List<eu.mulk.mulkcms2.benki.lazychat.LazychatMessage> lazychatMessages} + +{#include base.html} + +{#title}Benki Lazychat{/title} +{#siteSection}Lazychat{/siteSection} +{#lazychatClass}this-page{/lazychatClass} + +{#head}{/head} + +{#body} + +{#for lazychatMessage in lazychatMessages} + {#with lazychatMessage} + <article class="lazychat-message"> + <header> + <div class="lazychat-message-info"> + <time datetime="{date.htmlDateTime}">{date.humanDateTime}</time> + <span class="lazychat-message-owner">{owner.firstName} {owner.lastName}</span> + </div> + </header> + + <section class="lazychat-message-content"> + {contentHtml.raw} + </section> + </article> + {/with} +{/for} + +{/body} + +{/include} |