From 9c511b9dc2552a2c42cc8c7e46b0a37940143916 Mon Sep 17 00:00:00 2001 From: Dariusz Szut Date: Mon, 3 Jan 2022 08:12:24 +0100 Subject: [PATCH] IBX-1152: Added back label in anchor navigation (#155) --- src/bundle/Resources/translations/messages.en.xliff | 8 ++++---- .../themes/admin/ui/anchor_navigation_menu.html.twig | 6 ++++-- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/src/bundle/Resources/translations/messages.en.xliff b/src/bundle/Resources/translations/messages.en.xliff index dc05a38b02..f12905d061 100644 --- a/src/bundle/Resources/translations/messages.en.xliff +++ b/src/bundle/Resources/translations/messages.en.xliff @@ -6,10 +6,10 @@ The source node in most cases contains the sample message as written by the developer. If it looks like a dot-delimitted string such as "form.label.firstname", then the developer has not provided a default message. - - Close - Close - key: anchor_navigation.close + + Back + Back + key: anchor_navigation.back Your current password will expire in %days% day(s). You can change it in User Settings/My Account Settings. diff --git a/src/bundle/Resources/views/themes/admin/ui/anchor_navigation_menu.html.twig b/src/bundle/Resources/views/themes/admin/ui/anchor_navigation_menu.html.twig index 5d29d6d66f..7a26a971ec 100644 --- a/src/bundle/Resources/views/themes/admin/ui/anchor_navigation_menu.html.twig +++ b/src/bundle/Resources/views/themes/admin/ui/anchor_navigation_menu.html.twig @@ -2,13 +2,15 @@
{% if close_href is defined %} + + {{ 'anchor_navigation.back'|trans|desc('Back') }} + {% endif %}