1441 |
ariadna |
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 mod_assign/override_delete_modal
|
|
|
19 |
|
|
|
20 |
Example context (json):
|
|
|
21 |
{
|
|
|
22 |
}
|
|
|
23 |
|
|
|
24 |
}}
|
|
|
25 |
{{< core/modal }}
|
|
|
26 |
{{$title}}{{#str}} confirm {{/str}}{{/title}}
|
|
|
27 |
{{$body}}
|
|
|
28 |
<div class="container">
|
|
|
29 |
<form>
|
|
|
30 |
<div class="form-group row">
|
|
|
31 |
<p>{{confirmmessage}}</p>
|
|
|
32 |
</div>
|
|
|
33 |
|
|
|
34 |
{{#showpenaltyrecalculation}}
|
|
|
35 |
<div class="form-group row">
|
|
|
36 |
<div class="form-check form-check-inline">
|
|
|
37 |
<input class="form-check-input" type="checkbox" id="recalculatepenalties" name="recalculatepenalties"/>
|
|
|
38 |
|
|
|
39 |
<label class="form-check-label" for="recalculatepenalties">
|
|
|
40 |
{{#str}} overriderecalculatepenalty, assign {{/str}}
|
|
|
41 |
</label>
|
|
|
42 |
</div>
|
|
|
43 |
</div>
|
|
|
44 |
{{/showpenaltyrecalculation}}
|
|
|
45 |
</form>
|
|
|
46 |
</div>
|
|
|
47 |
{{/body}}
|
|
|
48 |
{{$footer}}
|
|
|
49 |
<button type="button" class="btn btn-secondary" data-action="cancel">{{#str}} cancel {{/str}}</button>
|
|
|
50 |
<button type="button" class="btn btn-danger" data-action="delete">{{#str}} continue {{/str}}</button>
|
|
|
51 |
{{/footer}}
|
|
|
52 |
{{/ core/modal }}
|