Skip to content

Commit

Permalink
Merge branch 'MDL-69855-310' of git://github.com/junpataleta/moodle i…
Browse files Browse the repository at this point in the history
…nto MOODLE_310_STABLE
  • Loading branch information
stronk7 committed Sep 9, 2021
2 parents b5366af + 0548156 commit 60a4c78
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
2 changes: 2 additions & 0 deletions mod/forum/lang/en/forum.php
Expand Up @@ -510,10 +510,12 @@
$string['postbymailsuccess_html'] = 'Your reply <a href="{$a->discussionurl}">{$a->subject}</a> was successfully posted.';
$string['postbyuser'] = '{$a->post} by {$a->user}';
$string['postincontext'] = 'See this post in context';
$string['postmailinfo'] = 'This is a copy of a message posted in {$a}.';
$string['postmailinfolink'] = 'This is a copy of a message posted in {$a->coursename}.
To reply click on this link: {$a->replylink}';
$string['postmailnow'] = '<p>This post will be mailed out immediately to all forum subscribers.</p>';
$string['postmailreply'] = 'To reply click on this link: {$a}';
$string['postmailsubject'] = '{$a->courseshortname}: {$a->subject}';
$string['postrating1'] = 'Mostly separate knowing';
$string['postrating2'] = 'Separate and connected';
Expand Down
4 changes: 4 additions & 0 deletions mod/forum/templates/forum_post_email_htmlemail_body.mustache
Expand Up @@ -123,13 +123,17 @@
{{# str }} parent, forum {{/ str }}
</a>
{{# canreply }}
{{^ isprivatereply }}
|
{{/ isprivatereply }}
{{/ canreply }}
{{/ firstpost }}
{{# canreply }}
{{^ isprivatereply }}
<a target="_blank" href="{{{ replylink }}}">
{{# str }} reply, forum {{/ str }}
</a>
{{/ isprivatereply }}
{{/ canreply }}
</div>

Expand Down
9 changes: 5 additions & 4 deletions mod/forum/templates/forum_post_email_textemail.mustache
Expand Up @@ -58,11 +58,12 @@

{{{ attachments }}}
---------------------------------------------------------------------
{{# str }} postmailinfo, forum, {{{ coursename }}} {{/ str }}

{{# canreply }}
{{# str }} postmailinfolink, forum, {
"coursename": {{# quote }}{{{ coursename }}}{{/ quote }},
"replylink": {{# quote }}{{ replylink }}{{/ quote }}
} {{/ str }}
{{^ isprivatereply }}
{{# str }} postmailreply, forum, {{{ replylink }}} {{/ str }}
{{/ isprivatereply }}
{{/ canreply }}
{{# unsubscribeforumlink }}
{{# str }} unsubscribelink, forum, {{{ unsubscribeforumlink }}} {{/ str }}
Expand Down

0 comments on commit 60a4c78

Please sign in to comment.