{{! 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 . }} {{! @template core_message/default_notification_preferences This template will render the default notification preferences for admin settings. Classes required for JS: * none Data attributes required for JS: * All data attributes are required Context variables required for this template: * providers Message providers * components Provider components * processors Message processors * preferences Saved preferences Example context (json): { "processors": [ { "displayname": "Web", "name": "popup" } ], "components": [ { "displayname": "Assignment", "name": "mod_assign", "colspan": 3, "providers": [ { "name": "assign_notification", "component": "mod_assign", "displayname": "Assignment notifications", "enabledsetting": "mod_assign_assign_notification_disable", "enabledlabel": "Sending Assignment enabled status", "enabled": 1, "settings": [ { "lockedsetting": "mod_assign_assign_notification_locked[popup]", "locked": 1, "lockedlabel": "Sending Assignment via Web locked status", "enabledsetting": "mod_assign_assign_notification_enabled[popup]", "enabled": 1, "enabledlabel": "Sending Assignment via Web enabled status" } ] } ] } ] } }}

{{#str}} managemessageoutputs, message {{/str}}

{{#processors}} {{/processors}} {{#components}} {{#providers}} {{#settings}} {{/settings}} {{/providers}} {{/components}}
{{#str}} enabled, core_message {{/str}}{{{displayname}}}
{{{displayname}}}
{{{displayname}}}
{{#js}} require(['core_message/default_notification_preferences'], function(NotificationPreferences) { NotificationPreferences.init(); }); {{/js}}