From aa720a52ed8051cc2ec972f39d755a7415c82afc Mon Sep 17 00:00:00 2001 From: Andrew Nicols Date: Fri, 22 Jan 2016 10:12:20 +0800 Subject: [PATCH] MDL-52137 mod_forum: Move post body into html digest full body --- ...um_post_emaildigestfull_htmlemail.mustache | 56 ++++++++++++++++++- 1 file changed, 55 insertions(+), 1 deletion(-) diff --git a/mod/forum/templates/forum_post_emaildigestfull_htmlemail.mustache b/mod/forum/templates/forum_post_emaildigestfull_htmlemail.mustache index 5b2240f1ca6..8cbd37fe9d0 100644 --- a/mod/forum/templates/forum_post_emaildigestfull_htmlemail.mustache +++ b/mod/forum/templates/forum_post_emaildigestfull_htmlemail.mustache @@ -77,4 +77,58 @@ "unsubscribediscussionlink": "https://example.com/mod/discussion/subscribe.php?id=2&d=2" } }} -{{> mod_forum/forum_post_email_htmlemail }} + + + + + + + + + +
+ {{{ authorpicture }}} + +
+ {{{ subject }}} +
+
+ {{# str }} bynameondate, forum, { "name": "{{ authorfullname }}", "date": "{{ postdate }}" } {{/ str }} +
+
+ {{# grouppicture }} + {{{ grouppicture }}} + {{/ grouppicture }} + {{^ grouppicture }} +   + {{/ grouppicture }} + + {{# attachments }} +
+ {{{ attachments }}} +
+ {{/ attachments }} + {{{ message }}} + +
+ {{^ firstpost }} + + {{# str }} parent, forum {{/ str }} + + {{# canreply }} + | + {{/ canreply }} + {{/ firstpost }} + {{# canreply }} + + {{# str }} reply, forum {{/ str }} + + {{/ canreply }} +
+ + +