X7ROOT File Manager
Current Path:
/home/cbholdings/pasukulu/admin/tool/dataprivacy/templates
home
/
cbholdings
/
pasukulu
/
admin
/
tool
/
dataprivacy
/
templates
/
📁
..
📄
categories.mustache
(2.68 KB)
📄
category_purpose_form.mustache
(3.95 KB)
📄
component_status.mustache
(4.1 KB)
📄
context_tree_branches.mustache
(1.04 KB)
📄
context_tree_node.mustache
(1.72 KB)
📄
data_deletion.mustache
(3.13 KB)
📄
data_registry.mustache
(1.79 KB)
📄
data_registry_compliance.mustache
(3.64 KB)
📄
data_request_email.mustache
(4.25 KB)
📄
data_request_modal.mustache
(1.56 KB)
📄
data_request_results_email.mustache
(1.72 KB)
📄
data_requests.mustache
(2.43 KB)
📄
data_requests_bulk_actions.mustache
(1.82 KB)
📄
defaults_display.mustache
(2.42 KB)
📄
defaults_page.mustache
(5.79 KB)
📄
delete_activity_defaults.mustache
(1.22 KB)
📄
form-user-selector-suggestion.mustache
(1.48 KB)
📄
my_data_requests.mustache
(5.95 KB)
📄
purposes.mustache
(4.98 KB)
📄
request_details.mustache
(3.74 KB)
📄
request_filter.mustache
(2.24 KB)
📄
summary.mustache
(4.56 KB)
Editing: categories.mustache
{{! 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/categories Manage categories. Classes required for JS: Data attributes required for JS: Context variables required for this template: * categories - array of objects * actions - array of actions (already in HTML). Example context (json): { "categoriesexist": 1, "categories": [ { "name" : "Category 1", "description": "<strong>Description 1</strong>", "actions": [ ] }, { "name" : "Category 2", "description": "<strong>Description 2</strong>", "actions": [ ] } ] } }} {{#navigation}} {{> core/action_link}} {{/navigation}} <div data-region="categories" class="mt-3 mb-1"> <div class="my-1"> <button class="btn btn-secondary" data-add-element="category" title="{{#str}}addcategory, tool_dataprivacy{{/str}}"> {{#pix}}t/add, moodle, {{#str}}addcategory, tool_dataprivacy{{/str}}{{/pix}} </button> </div> <table class="table table-striped table-hover"> <caption class="accesshide">{{#str}}categorieslist, tool_dataprivacy{{/str}}</caption> <thead> <tr> <th scope="col">{{#str}}name{{/str}}</th> <th scope="col" class="w-50">{{#str}}description{{/str}}</th> <th scope="col">{{#str}}actions{{/str}}</th> </tr> </thead> <tbody> {{#categories}} <tr data-categoryid="{{id}}"> <td>{{{name}}}</td> <td>{{{description}}}</td> <td> {{#actions}} {{> core/action_menu}} {{/actions}} </td> </tr> {{/categories}} </tbody> </table> {{^categories}} <p> {{#str}}nocategories, tool_dataprivacy{{/str}} </p> {{/categories}} </div>
Upload File
Create Folder