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 mod_assign/override_form_user_defaults
|
|
|
19 |
|
|
|
20 |
HTML for showing user default dates in override form.
|
|
|
21 |
}}
|
|
|
22 |
<dl>
|
|
|
23 |
<dt>{{#str}} allowsubmissionsfromdate, mod_assign {{/str}}</dt>
|
|
|
24 |
<dl>
|
|
|
25 |
{{#allowsubmissionsfromdate}} {{#userdate}} {{.}}, {{#str}} strftimedatetime, core_langconfig {{/str}} {{/userdate}} {{/allowsubmissionsfromdate}}
|
|
|
26 |
{{^allowsubmissionsfromdate}} {{#str}} disabled, mod_assign {{/str}} {{/allowsubmissionsfromdate}}
|
|
|
27 |
</dl>
|
|
|
28 |
|
|
|
29 |
<dt>{{#str}} duedate, mod_assign {{/str}}</dt>
|
|
|
30 |
<dl>
|
|
|
31 |
{{#duedate}} {{#userdate}} {{.}}, {{#str}} strftimedatetime, core_langconfig {{/str}} {{/userdate}} {{/duedate}}
|
|
|
32 |
{{^duedate}} {{#str}} disabled, mod_assign {{/str}} {{/duedate}}
|
|
|
33 |
</dl>
|
|
|
34 |
|
|
|
35 |
<dt>{{#str}} cutoffdate, mod_assign {{/str}}</dt>
|
|
|
36 |
<dl>
|
|
|
37 |
{{#cutoffdate}} {{#userdate}} {{cutoffdate}}, {{#str}} strftimedatetime, core_langconfig {{/str}} {{/userdate}} {{/cutoffdate}}
|
|
|
38 |
{{^cutoffdate}} {{#str}} disabled, mod_assign {{/str}} {{/cutoffdate}}
|
|
|
39 |
</dl>
|
|
|
40 |
</dl>
|