From 526d2aa58e02801bb7cd5c60b42ace566fb1c787 Mon Sep 17 00:00:00 2001 From: Jun Pataleta Date: Wed, 15 Aug 2018 11:07:46 +0800 Subject: [PATCH] MDL-62395 tool_dataprivacy: Use BS4 table classes * Use standard Bootstrap4 table classes for the categories and purposes tables. * Set w-25 for the name and description columns of the purposes table. * Set w-50 for the description column of the categories table. * Set a minimum width for the actions column of these tables. --- .../dataprivacy/templates/categories.mustache | 4 +-- .../dataprivacy/templates/purposes.mustache | 30 +++++++++---------- 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/admin/tool/dataprivacy/templates/categories.mustache b/admin/tool/dataprivacy/templates/categories.mustache index 523a56b1990..6ddb7f1fd97 100644 --- a/admin/tool/dataprivacy/templates/categories.mustache +++ b/admin/tool/dataprivacy/templates/categories.mustache @@ -56,12 +56,12 @@ {{#pix}}t/add, moodle, {{#str}}addcategory, tool_dataprivacy{{/str}}{{/pix}} - +
- + diff --git a/admin/tool/dataprivacy/templates/purposes.mustache b/admin/tool/dataprivacy/templates/purposes.mustache index fe254405606..a99589b722e 100644 --- a/admin/tool/dataprivacy/templates/purposes.mustache +++ b/admin/tool/dataprivacy/templates/purposes.mustache @@ -63,25 +63,25 @@ {{#pix}}t/add, moodle, {{#str}}addpurpose, tool_dataprivacy{{/str}}{{/pix}} -
{{#str}}categorieslist, tool_dataprivacy{{/str}}
{{#str}}name{{/str}}{{#str}}description{{/str}}{{#str}}description{{/str}} {{#str}}actions{{/str}}
+
- - - - - - - + + + + + + + {{#purposes}} - - - + + - - - + -
{{#str}}purposeslist, tool_dataprivacy{{/str}}
{{#str}}name{{/str}}{{#str}}description{{/str}}{{#str}}lawfulbases, tool_dataprivacy{{/str}}{{#str}}sensitivedatareasons, tool_dataprivacy{{/str}}{{#str}}retentionperiod, tool_dataprivacy{{/str}}{{#str}}protected, tool_dataprivacy{{/str}}{{#str}}actions{{/str}}{{#str}}name{{/str}}{{#str}}description{{/str}}{{#str}}lawfulbases, tool_dataprivacy{{/str}}{{#str}}sensitivedatareasons, tool_dataprivacy{{/str}}{{#str}}retentionperiod, tool_dataprivacy{{/str}}{{#str}}protected, tool_dataprivacy{{/str}}{{#str}}actions{{/str}}
{{{name}}}{{{description}}} + {{{name}}}{{{description}}}
    {{#formattedlawfulbases}}
  • @@ -90,7 +90,7 @@ {{/formattedlawfulbases}}
+
    {{#formattedsensitivedatareasons}}
  • @@ -99,8 +99,8 @@ {{/formattedsensitivedatareasons}}
{{formattedretentionperiod}} + {{formattedretentionperiod}} {{#protected}} {{#pix}}i/checked, core, {{#str}}yes{{/str}}{{/pix}} {{/protected}} @@ -108,7 +108,7 @@ {{#str}}no{{/str}} {{/protected}} + {{#actions}} {{> core/action_menu}} {{/actions}}