summaryrefslogtreecommitdiff
path: root/src/main/resources/templates
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <code@mail.matthias.benkard.de>2022-06-04 09:06:31 +0200
committerMatthias Andreas Benkard <code@mail.matthias.benkard.de>2022-06-04 16:24:24 +0200
commit1937e6a72594f98d1fa031d8220f10ccc798c2be (patch)
tree5d78a7976b75f3196e50856577fb4a23d26617ce /src/main/resources/templates
parent0351a8fbbac6cfa671128513605288fb940ce94b (diff)
KB66 Add comment notification email.
Change-Id: I27feecfe2d4309397b116552856227eacb7e9600
Diffstat (limited to 'src/main/resources/templates')
-rw-r--r--src/main/resources/templates/PostResource/commentNotificationMail.txt9
-rw-r--r--src/main/resources/templates/PostResource/postList.html (renamed from src/main/resources/templates/benki/posts/postList.html)0
2 files changed, 9 insertions, 0 deletions
diff --git a/src/main/resources/templates/PostResource/commentNotificationMail.txt b/src/main/resources/templates/PostResource/commentNotificationMail.txt
new file mode 100644
index 0000000..a226106
--- /dev/null
+++ b/src/main/resources/templates/PostResource/commentNotificationMail.txt
@@ -0,0 +1,9 @@
+{@int postId}
+{@eu.mulk.mulkcms2.benki.lazychat.LazychatMessage comment}
+New Comment
+===========
+
+Link: <https://matthias.benkard.de/posts/{postId}#comment-{comment.id}>
+{#if comment.owner != null}Author: {comment.owner.firstName}{/if}
+
+{comment.text.content}
diff --git a/src/main/resources/templates/benki/posts/postList.html b/src/main/resources/templates/PostResource/postList.html
index 2f932ec..2f932ec 100644
--- a/src/main/resources/templates/benki/posts/postList.html
+++ b/src/main/resources/templates/PostResource/postList.html