mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
f7bcdf61c5
* Allow the setting of data registry defaults for activity modules. * Rewrite the defaults page so that it uses templates. * Use a tabbed layout for the defaults page that shows the default category and purpose per context level. * New API and web service functions that enables the setting of the defaults.
42 lines
1.2 KiB
Plaintext
42 lines
1.2 KiB
Plaintext
{{!
|
|
This file is part of Moodle - http://moodle.org/
|
|
|
|
Moodle is free software: you can redistribute it and/or modify
|
|
it under the terms of the GNU General Public License as published by
|
|
the Free Software Foundation, either version 3 of the License, or
|
|
(at your option) any later version.
|
|
|
|
Moodle is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
|
}}
|
|
{{!
|
|
@template tool_dataprivacy/delete_activity_defaults
|
|
|
|
Renders the confirmation.
|
|
|
|
Classes required for JS:
|
|
|
|
Data attributes required for JS:
|
|
* none
|
|
|
|
Context variables required for this template:
|
|
* activityname String - The activity name.
|
|
|
|
Example context (json):
|
|
{
|
|
"activityname": "Assignment"
|
|
}
|
|
}}
|
|
|
|
<div class="alert alert-warning" role="alert">
|
|
{{#str}}defaultswarninginfo, tool_dataprivacy{{/str}}
|
|
</div>
|
|
<div>
|
|
{{#str}}deletedefaultsconfirmation, tool_dataprivacy, {{activityname}}{{/str}}
|
|
</div>
|