Merge branch 'MDL-69251-311' of https://github.com/snake/moodle into MOODLE_311_STABLE
[moodle.git] / lib / templates / email_html.mustache
blob562e22bc397f3caf3554210ffb50f3fe0112e93a
1 {{!
2     This file is part of Moodle - http://moodle.org/
4     Moodle is free software: you can redistribute it and/or modify
5     it under the terms of the GNU General Public License as published by
6     the Free Software Foundation, either version 3 of the License, or
7     (at your option) any later version.
9     Moodle is distributed in the hope that it will be useful,
10     but WITHOUT ANY WARRANTY; without even the implied warranty of
11     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12     GNU General Public License for more details.
14     You should have received a copy of the GNU General Public License
15     along with Moodle.  If not, see <http://www.gnu.org/licenses/>.
17 {{!
18     @template core/email_html
20     Template for all html emails. Note that it may wrap content formatted
21     elsewhere in another a module template.
23     Context variables required for this template:
24     * sitefullname
25     * siteshortname
26     * sitewwwroot
27     * subject
28     * to
29     * toname
30     * touserid
31     * tousername
32     * from
33     * fromname
34     * replyto
35     * replytoname
36     * body
37     * prefix
39     Example context (json):
40     {
41         "prefix": "[Prefix Text]",
42         "body": "Email body"
43     }
45 {{{body}}}