diff --git a/lib/navigation/FooterNavigation.php b/lib/navigation/FooterNavigation.php index ac62ff8a4cb64dee418fe60e10964df5f9f33e77..02f1193f324565476f716638129c4a8a6a35e4ea 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 ); } }