Merge branch 'MDL-52137-30' of git://github.com/andrewnicols/moodle into MOODLE_30_STABLE

This commit is contained in:
David Monllao
2016-02-02 10:57:00 +08:00
@@ -77,4 +77,58 @@
"unsubscribediscussionlink": "https://example.com/mod/discussion/subscribe.php?id=2&d=2"
}
}}
{{> mod_forum/forum_post_email_htmlemail }}
<table border="0" cellpadding="3" cellspacing="0" class="forumpost">
<tr class="header">
<td width="35" valign="top" class="picture left">
{{{ authorpicture }}}
</td>
<td class="topic {{# firstpost }}starter{{/ firstpost }}">
<div class="subject">
{{{ subject }}}
</div>
<div class="author">
{{# str }} bynameondate, forum, { "name": "<a target='_blank' href='{{{ authorlink }}}'>{{ authorfullname }}</a>", "date": "{{ postdate }}" } {{/ str }}
</div>
</td>
</tr>
<tr>
<td class="left side" valign="top">
{{# grouppicture }}
{{{ grouppicture }}}
{{/ grouppicture }}
{{^ grouppicture }}
&nbsp;
{{/ grouppicture }}
</td>
<td class="content">
{{# attachments }}
<div class="attachments">
{{{ attachments }}}
</div>
{{/ attachments }}
{{{ message }}}
<div class="commands">
{{^ firstpost }}
<a target="_blank" href="{{{ parentpostlink }}}">
{{# str }} parent, forum {{/ str }}
</a>
{{# canreply }}
|
{{/ canreply }}
{{/ firstpost }}
{{# canreply }}
<a target="_blank" href="{{{ replylink }}}">
{{# str }} reply, forum {{/ str }}
</a>
{{/ canreply }}
</div>
<div class="link">
<a target="_blank" href="{{{ permalink }}}">
{{# str }} postincontext, forum {{/ str }}
</a>
</div>
</td>
</tr>
</table>