Merge branch 'MDL-73996-master-fix' of https://github.com/junpataleta/moodle
[moodle.git] / user / templates / contact_site_support_not_available.mustache
bloba14b0a70865b62230600200123cf4fa36948e7f4
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_user/contact_site_support_not_available
20     Content displayed on the contact site support page if attempting to submit the support form fails.
22     Example context (json):
23     {
24         "supportemail": "<a href=\"mailto:support@mail.com\">support@mail.com</a>",
25         "supportform": "<input type='text' value='test'>"
26     }
28 <div class="card">
29     <div class="card-body bg-light d-flex flex-row">
30         <div class="p-3 mr-3 align-self-center supporticon">{{#pix}}t/life-ring, core{{/pix}}</div>
31         <div class = "p-1 align-self-center text-muted">
32             <div class="h4 font-weight-normal mb-0">{{#str}}supportmessagenotsent, user{{/str}}</div>
33                 {{#supportemail}}
34                     <div class="py-3 mt-2">
35                         <span class="h5 font-weight-normal w-75 rounded border p-3">
36                             {{#str}}supportmessagealternative, user, {{{supportemail}}}{{/str}}
37                         </span>
38                     </div>
39                 {{/supportemail}}
40             </div>
41     </div>
42 </div>
43 <div class="py-1 pt-3">
44     {{{supportform}}}
45 </div>