From c9f346db7b6d723a9a1f9de7c19ed2c9ca660a37 Mon Sep 17 00:00:00 2001 From: Sandro Costa Date: Fri, 11 Oct 2024 09:06:12 +0000 Subject: [PATCH] =?UTF-8?q?=E2=99=BF=EF=B8=8F(templates)=20fix=20organizat?= =?UTF-8?q?ion=20glipmpse?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Add a small fix to the title property the organization glimpse - The value of title should be different from the organization card - Change the tests to fit the new rule --- CHANGELOG.md | 1 + .../courses/cms/fragment_organization_glimpse.html | 2 +- tests/apps/courses/test_cms_plugins_organization.py | 8 +++++--- .../courses/test_cms_plugins_organizations_by_category.py | 4 ++-- tests/apps/courses/test_templates_person_detail.py | 4 ++-- 5 files changed, 11 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7905a4e153..c29306699b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -30,6 +30,7 @@ Versioning](https://semver.org/spec/v2.0.0.html). ### Fixed +- Fix organization glimpse card title for accessibility purposes - Fix logic to know if user is enrolled to a ongoing product - Normalize credit card brand on CreditCardBrandLogo component diff --git a/src/richie/apps/courses/templates/courses/cms/fragment_organization_glimpse.html b/src/richie/apps/courses/templates/courses/cms/fragment_organization_glimpse.html index 38d9b00498..c11bf4757a 100644 --- a/src/richie/apps/courses/templates/courses/cms/fragment_organization_glimpse.html +++ b/src/richie/apps/courses/templates/courses/cms/fragment_organization_glimpse.html @@ -4,7 +4,7 @@
- + {% if organization_variant == "row" %}