From 744ac28951004911fe03013d9d42aad9251dc31c Mon Sep 17 00:00:00 2001 From: Alexander Bias <alexander.bias@uni-ulm.de> Date: Tue, 20 Apr 2021 09:06:24 +0200 Subject: [PATCH] Adjusted footer.mustache due to upstream changes in theme Boost core --- CHANGES.md | 4 ++++ templates/footer.mustache | 4 ++-- templates/footer.mustache.original | 4 ++-- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 52a7885..4c51f57 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -4,6 +4,10 @@ moodle-theme_boost_campus Changes ------- +### Unreleased + +* 2021-04-20 - Adjusted footer.mustache due to upstream changes in theme Boost core (MDL-70173). + ### v3.9-r8 * 2021-04-14 - Bugfix: Help Icon content in the modal dialog versions sometimes inherited unwanted CSS layout - Credits to @danowar2k diff --git a/templates/footer.mustache b/templates/footer.mustache index 3810e7c..8387135 100644 --- a/templates/footer.mustache +++ b/templates/footer.mustache @@ -42,8 +42,8 @@ {{^bcbttbutton}} <div id="goto-top-link"> {{! go to top is sticky to footer so needs to be sibling }} - <a class="btn btn-light" role="button" href="#"> - {{#pix}} i/up, core, {{#str}} totop, theme_boost {{/str}}{{/pix}} + <a class="btn btn-light" role="button" href="#" aria-label="{{#str}} totop, theme_boost {{/str}}"> + {{#pix}} i/up, core{{/pix}} </a> </div> {{/bcbttbutton}} diff --git a/templates/footer.mustache.original b/templates/footer.mustache.original index 2655fd4..fca4e06 100644 --- a/templates/footer.mustache.original +++ b/templates/footer.mustache.original @@ -19,8 +19,8 @@ }} <div id="goto-top-link"> {{! go to top is sticky to footer so needs to be sibling }} - <a class="btn btn-light" role="button" href="#"> - {{#pix}} i/up, core, {{#str}} totop, theme_boost {{/str}}{{/pix}} + <a class="btn btn-light" role="button" href="#" aria-label="{{#str}} totop, theme_boost {{/str}}"> + {{#pix}} i/up, core{{/pix}} </a> </div> <footer id="page-footer" class="py-3 bg-dark text-light"> -- GitLab