From f40f80dd1f543e9a84038b61452dcf04f8c26e41 Mon Sep 17 00:00:00 2001 From: vincent Date: Wed, 15 Jun 2022 13:48:42 +0200 Subject: [PATCH] Fix canceled event label's translation --- CHANGELOG.md | 1 + app/frontend/src/stylesheets/app.layout.scss | 2 +- app/frontend/templates/admin/calendar/calendar.html | 2 +- app/frontend/templates/admin/members/edit.html | 2 +- app/frontend/templates/dashboard/trainings.html | 4 ++-- 5 files changed, 6 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b855591ae..3f84f3352 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,7 @@ - Fix a bug: error message during the setup: the input device is not a TTY - Fix a bug: when Fab-manager was installed as non-root user, unable to compile the assets during the upgrade - [TODO DEPLOY] `\curl -sSL https://raw.githubusercontent.com/sleede/fab-manager/master/scripts/set-docker-user.sh | bash` +- Fix canceled event label's translation ## v5.4.4 2022 June 8 diff --git a/app/frontend/src/stylesheets/app.layout.scss b/app/frontend/src/stylesheets/app.layout.scss index 5ef13ba35..00ccea00d 100644 --- a/app/frontend/src/stylesheets/app.layout.scss +++ b/app/frontend/src/stylesheets/app.layout.scss @@ -420,7 +420,7 @@ body.container { } &:before { - content: "Annulée"; + content: attr(data-label); display: inline-block; background-color: #c44242; border-radius: 0.25em; diff --git a/app/frontend/templates/admin/calendar/calendar.html b/app/frontend/templates/admin/calendar/calendar.html index 821c70b40..f7a132f7d 100644 --- a/app/frontend/templates/admin/calendar/calendar.html +++ b/app/frontend/templates/admin/calendar/calendar.html @@ -83,7 +83,7 @@
diff --git a/app/frontend/templates/dashboard/trainings.html b/app/frontend/templates/dashboard/trainings.html index 6209b0a3b..9516ac27a 100644 --- a/app/frontend/templates/dashboard/trainings.html +++ b/app/frontend/templates/dashboard/trainings.html @@ -39,7 +39,7 @@
@@ -54,7 +54,7 @@