{{! 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 comments. You should have received a copy of the GNU General Public License along with Moodle. If not, see . }} {{! @template tool_dataprivacy/data_registry_compliance Data registry main page. Classes required for JS: * none Data attributes required for JS: * none Context variables required for this template: * none Example context (json): { "types" : { "plugin_type_raw" : "mod", "plugin_type" : "Activities and Modules" } } }}

{{#str}}pluginregistrytitle, tool_dataprivacy{{/str}}


{{#str}}explanationtitle, tool_dataprivacy{{/str}}

{{#pix}}i/risk_xss, moodle, {{#str}}requiresattention, tool_dataprivacy{{/str}}{{/pix}}
{{#str}}requiresattentionexplanation, tool_dataprivacy{{/str}}
{{#str}}external, tool_dataprivacy{{/str}}
{{#str}}externalexplanation, tool_dataprivacy{{/str}}
{{#str}}deprecated, tool_dataprivacy{{/str}}
{{#str}}deprecatedexplanation, tool_dataprivacy{{/str}}
{{#str}}userlistnoncompliant, tool_dataprivacy{{/str}}
{{#str}}userlistexplanation, tool_dataprivacy{{/str}}

{{#types}}

{{#pix}}t/collapsed, moodle, {{#str}}expandplugintype, tool_dataprivacy{{/str}}{{/pix}}{{plugin_type}}

{{/types}}
{{#js}} require(['jquery', 'tool_dataprivacy/expand_contract'], function($, ec) { $('.type-expand').click(function(e) { e.preventDefault(); e.stopPropagation(); var thisnode = $(this); var plugin = thisnode.data('plugin'); var metadata = $('[data-plugintarget=\'' + plugin + '\']'); ec.expandCollapse(metadata, thisnode); }); $('.component-expand').click(function(e) { e.preventDefault(); e.stopPropagation(); var thisnode = $(this); var plugin = thisnode.data('component'); var metadata = $('[data-section=\'' + plugin + '\']'); ec.expandCollapse(metadata, thisnode); }); $('.tool_dataprivacy-expand-all').click(function(e) { e.preventDefault(); e.stopPropagation(); var nextstate = $(this).data('visibilityState'); ec.expandCollapseAll(nextstate); }); }); {{/js}}