From 33277b9d8cc579a64a196a91d0dc8f4300595e5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michaela=20Br=C3=BCckner?= <brueckner@data-quest.de> Date: Tue, 23 May 2023 09:48:23 +0000 Subject: [PATCH] fixes #2664 Closes #2664 Merge request studip/studip!1808 --- lib/navigation/FooterNavigation.php | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/lib/navigation/FooterNavigation.php b/lib/navigation/FooterNavigation.php index ac62ff8a4cb..02f1193f324 100644 --- a/lib/navigation/FooterNavigation.php +++ b/lib/navigation/FooterNavigation.php @@ -48,13 +48,19 @@ class FooterNavigation extends Navigation } $this->addSubNavigation('privacy', new Navigation(_('Datenschutz'), $privacy_url)); + $barrier_navigation = new Navigation( + _('Barriere melden'), + URLHelper::getURL( + 'dispatch.php/accessibility/forms/report_barrier', + ['page' => Request::url(), 'cancel_login' => '1'] + ) + ); + $barrier_navigation->setLinkAttributes([ + 'data-dialog' => '', + ]); $this->addSubNavigation( 'report_barrier', - new Navigation( - _('Barriere melden'), - URLHelper::getURL('dispatch.php/accessibility/forms/report_barrier', ['page' => Request::url()]), - ['data-dialog' => ''] - ) + $barrier_navigation ); } } -- GitLab