aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib/emails
diff options
context:
space:
mode:
authorKimsible <1877318+kimsible@users.noreply.github.com>2020-11-07 22:59:58 +0100
committerGitHub <noreply@github.com>2020-11-07 22:59:58 +0100
commit98b94643127d881cbc09a12812185aed44173f16 (patch)
tree69759b1a15c1f013c2f4ee411a7abf4d19298bc1 /server/lib/emails
parenta4879b53759ac8db1405351103c7a4a8a700a768 (diff)
downloadPeerTube-98b94643127d881cbc09a12812185aed44173f16.tar.gz
PeerTube-98b94643127d881cbc09a12812185aed44173f16.tar.zst
PeerTube-98b94643127d881cbc09a12812185aed44173f16.zip
render html/markdown for new comment notification email (#3255)
Co-authored-by: kimsible <kimsible@users.noreply.github.com> Co-authored-by: Rigel Kent <sendmemail@rigelk.eu>
Diffstat (limited to 'server/lib/emails')
-rw-r--r--server/lib/emails/video-comment-mention/html.pug6
-rw-r--r--server/lib/emails/video-comment-new/html.pug6
2 files changed, 6 insertions, 6 deletions
diff --git a/server/lib/emails/video-comment-mention/html.pug b/server/lib/emails/video-comment-mention/html.pug
index 9e9ced62d..a34c6b090 100644
--- a/server/lib/emails/video-comment-mention/html.pug
+++ b/server/lib/emails/video-comment-mention/html.pug
@@ -5,7 +5,7 @@ block title
5 5
6block content 6block content
7 p. 7 p.
8 #[a(href=accountUrl title=handle) #{accountName}] mentioned you in a comment on video 8 #[a(href=accountUrl title=handle) #{accountName}] mentioned you in a comment on video
9 "#[a(href=videoUrl) #{video.name}]": 9 "#[a(href=videoUrl) #{video.name}]":
10 blockquote #{comment.text} 10 blockquote !{commentHtml}
11 br(style="display: none;") \ No newline at end of file 11 br(style="display: none;")
diff --git a/server/lib/emails/video-comment-new/html.pug b/server/lib/emails/video-comment-new/html.pug
index 075af5717..cbb683fee 100644
--- a/server/lib/emails/video-comment-new/html.pug
+++ b/server/lib/emails/video-comment-new/html.pug
@@ -5,7 +5,7 @@ block title
5 5
6block content 6block content
7 p. 7 p.
8 #[a(href=accountUrl title=handle) #{accountName}] added a comment on your video 8 #[a(href=accountUrl title=handle) #{accountName}] added a comment on your video
9 "#[a(href=videoUrl) #{video.name}]": 9 "#[a(href=videoUrl) #{video.name}]":
10 blockquote #{comment.text} 10 blockquote !{commentHtml}
11 br(style="display: none;") \ No newline at end of file 11 br(style="display: none;")