1 |
efrain |
1 |
{{!
|
|
|
2 |
This file is part of Moodle - http://moodle.org/
|
|
|
3 |
|
|
|
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.
|
|
|
8 |
|
|
|
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.
|
|
|
13 |
|
|
|
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/>.
|
|
|
16 |
}}
|
|
|
17 |
{{!
|
|
|
18 |
@template core_course/local/activitychooser/error
|
|
|
19 |
|
|
|
20 |
Chooser error template.
|
|
|
21 |
|
|
|
22 |
Variables required for this template:
|
|
|
23 |
* errormessage - The error message
|
|
|
24 |
|
|
|
25 |
Example context (json):
|
|
|
26 |
{
|
|
|
27 |
"errormessage": "Error"
|
|
|
28 |
}
|
|
|
29 |
}}
|
|
|
30 |
<div class="p-2 px-sm-5 py-sm-4">
|
|
|
31 |
<div class="alert alert-danger" role="alert">
|
|
|
32 |
<h5 class="alert-heading">
|
|
|
33 |
<svg width="18px" height="18px" stroke-width="1.5" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" color="currentColor"><path d="M20.043 21H3.957c-1.538 0-2.5-1.664-1.734-2.997l8.043-13.988c.77-1.337 2.699-1.337 3.468 0l8.043 13.988C22.543 19.336 21.58 21 20.043 21zM12 9v4" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"></path><path d="M12 17.01l.01-.011" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path></svg>
|
|
|
34 |
<span class="ml-2">{{#str}} error, error {{/str}}</span>
|
|
|
35 |
</h5>
|
|
|
36 |
<hr>
|
|
|
37 |
<p class="text-break">{{{errormessage}}}</p>
|
|
|
38 |
</div>
|
|
|
39 |
</div>
|