{{#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}}
{{#plugins}}
{{> tool_dataprivacy/component_status}}
{{/plugins}}
{{/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}}