{{! 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 tool_dataprivacy/summary Summary Classes required for JS: Data attributes required for JS: Context variables required for this template: Example context (json): { "contexts": [ { "contextname": "Site", "category": { "name": "Test category", "description": "

Description for category

" }, "purpose": { "name": "Test purpose", "description": "

Description for purpose

", "lawfulbases": "gdpr_art_6_1_c", "sensitivedatareasons": "gdpr_art_9_2_f", "formattedlawfulbases": [ { "name": "Lawful base 1(a)", "description": "We need your information" }, { "name": "Lawful base 1(b)", "description": "We really do need your information" } ], "formattedsensitivedatareasons": [ { "name": "Sensitive data reason number 1", "description": "Number 1" }, { "name": "Sensitive data reason number 1", "description": "Number 2" } ], "formattedretentionperiod": "10 Years" } } ] } }}

{{#str}}dataretentionsummary, tool_dataprivacy{{/str}}

{{#str}}dataretentionexplanation, tool_dataprivacy{{/str}}

{{#contexts}}

{{contextname}}

{{#category.name}}

{{#str}}category, tool_dataprivacy{{/str}}

{{category.name}}
{{{category.description}}}

{{/category.name}}

{{#str}}purpose, tool_dataprivacy{{/str}}

{{purpose.name}}
{{{purpose.description}}}
{{#str}}retentionperiod, tool_dataprivacy{{/str}}
{{purpose.formattedretentionperiod}}
{{#purpose.lawfulbases}} {{#purpose.formattedlawfulbases}} {{/purpose.formattedlawfulbases}}
{{#str}}lawfulbases, tool_dataprivacy{{/str}}
{{name}} {{description}}
{{/purpose.lawfulbases}} {{#purpose.sensitivedatareasons}} {{#purpose.formattedsensitivedatareasons}} {{/purpose.formattedsensitivedatareasons}}
{{#str}}sensitivedatareasons, tool_dataprivacy{{/str}}
{{name}} {{description}}
{{/purpose.sensitivedatareasons}}
{{/contexts}}