From 83d929734ffd8b46533f8c6bbf60a7d846c54a92 Mon Sep 17 00:00:00 2001 From: Kathrin Osswald <kathrin.osswald@uni-ulm.de> Date: Fri, 31 May 2019 12:54:12 +0200 Subject: [PATCH] Adjusted columns2.mustache template due to upstream changes in theme Boost. --- CHANGES.md | 1 + templates/columns2.mustache | 4 ++-- templates/columns2.mustache.original | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 70eba8d..84f20a1 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -6,6 +6,7 @@ Changes ### Unreleased +* 2019-06-03 - Adjusted columns2.mustache template due to upstream changes in theme Boost. * 2019-06-03 - Further formal changes to the renderers to be constistent with Moodle core. * 2019-05-31 - Adjusted function render_help_icon() in core_renderer.php due to upstream changes in theme Boost. * 2019-05-31 - Adjusted function render_login() in core_renderer.php due to upstream changes in theme Boost. diff --git a/templates/columns2.mustache b/templates/columns2.mustache index 90ae13a..5634d85 100644 --- a/templates/columns2.mustache +++ b/templates/columns2.mustache @@ -81,7 +81,7 @@ <div> {{{ output.region_main_settings_menu }}} </div> </div> {{/hasregionmainsettingsmenu}} - <section id="region-main" {{#hasblocks}}class="has-blocks mb-3"{{/hasblocks}}> + <section id="region-main" {{#hasblocks}}class="has-blocks mb-3"{{/hasblocks}} aria-label="{{#str}}content{{/str}}"> {{#hasregionmainsettingsmenu}} <div class="region_main_settings_menu_proxy"></div> @@ -96,7 +96,7 @@ </section> {{#hasblocks}} - <section data-region="blocks-column" class="d-print-none"> + <section data-region="blocks-column" class="d-print-none" aria-label="{{#str}}blocks{{/str}}"> {{{ sidepreblocks }}} </section> {{/hasblocks}} diff --git a/templates/columns2.mustache.original b/templates/columns2.mustache.original index 7b329cb..d0425d3 100644 --- a/templates/columns2.mustache.original +++ b/templates/columns2.mustache.original @@ -68,7 +68,7 @@ <div> {{{ output.region_main_settings_menu }}} </div> </div> {{/hasregionmainsettingsmenu}} - <section id="region-main" {{#hasblocks}}class="has-blocks mb-3"{{/hasblocks}}> + <section id="region-main" {{#hasblocks}}class="has-blocks mb-3"{{/hasblocks}} aria-label="{{#str}}content{{/str}}"> {{#hasregionmainsettingsmenu}} <div class="region_main_settings_menu_proxy"></div> @@ -80,7 +80,7 @@ </section> {{#hasblocks}} - <section data-region="blocks-column" class="d-print-none"> + <section data-region="blocks-column" class="d-print-none" aria-label="{{#str}}blocks{{/str}}"> {{{ sidepreblocks }}} </section> {{/hasblocks}} -- GitLab