From 8e3b7b3979be5d86e1beb7f11a7bea5e2cbd4cd3 Mon Sep 17 00:00:00 2001 From: Sandro Costa Date: Mon, 16 Dec 2024 14:03:17 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=A5(templates)=20add=20branding=5Ftopb?= =?UTF-8?q?ar=5Flogo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add a new block to host the site image and move the previous one to the outer block. This will allow us to override the `branding_topbar` and the outer link behaviour for a11y purposes. This is a breaking change. --- CHANGELOG.md | 4 ++++ UPGRADE.md | 5 +++++ src/richie/apps/core/templates/richie/base.html | 6 ++++-- 3 files changed, 13 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4b3cd48d3b..b044b723a3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,10 @@ Versioning](https://semver.org/spec/v2.0.0.html). - Fix frontend translation of Enroll now for external LMS backend +### Changed + +- Change `branding_topbar` to have and additonal layer in `branding_topbar_logo` + ## [2.33.0] - 2024-12-02 ### Added diff --git a/UPGRADE.md b/UPGRADE.md index 5175cd55e7..f7f1f10e99 100644 --- a/UPGRADE.md +++ b/UPGRADE.md @@ -51,6 +51,11 @@ $ make migrate Other page levels won't be allowed to create a PageIndex extension. Commonly it would be `0` for when your main menu list the root pages. +- After the change to the `base.html` template, you will now need to add the + `branding_topbar_logo` block to the `branding_topbar` block to have the same functionality. + If this remains the same in any site on your site factory, the `Go to homepage` link won't be + available. + ## 2.31.0 to 2.33.0 - Add new `slider` plugin theme scheme: diff --git a/src/richie/apps/core/templates/richie/base.html b/src/richie/apps/core/templates/richie/base.html index d38c7c2757..7efdbb1526 100644 --- a/src/richie/apps/core/templates/richie/base.html +++ b/src/richie/apps/core/templates/richie/base.html @@ -98,11 +98,13 @@