From ec7fb0615c7840c790672b8ddea2be5aec3aed36 Mon Sep 17 00:00:00 2001 From: Xu Date: Sun, 18 Feb 2024 11:34:47 +0100 Subject: [PATCH] add target="_blank" to links --- includes/pages/user_shifts.php | 2 +- resources/lang/de_DE/default.po | 8 ++++---- resources/views/admin/schedule/index.twig | 2 +- resources/views/layouts/maintenance.html | 4 ++-- resources/views/layouts/parts/footer.twig | 4 ++-- resources/views/pages/settings/profile.twig | 2 +- 6 files changed, 11 insertions(+), 11 deletions(-) diff --git a/includes/pages/user_shifts.php b/includes/pages/user_shifts.php index c1710e04..bd8d5478 100644 --- a/includes/pages/user_shifts.php +++ b/includes/pages/user_shifts.php @@ -374,7 +374,7 @@ function ical_hint() return heading(__('iCal export and API') . ' ' . button_help('user/ical'), 2) . '

' . sprintf( - __('Export your own shifts. iCal format or JSON format available (please keep secret, otherwise reset the api key).'), + __('Export your own shifts. iCal format or JSON format available (please keep secret, otherwise reset the api key).'), url('/ical', ['key' => $user->api_key]), url('/shifts-json-export', ['key' => $user->api_key]), url('/user-myshifts', ['reset' => 1]) diff --git a/resources/lang/de_DE/default.po b/resources/lang/de_DE/default.po index 23c123e4..513c437b 100644 --- a/resources/lang/de_DE/default.po +++ b/resources/lang/de_DE/default.po @@ -837,12 +837,12 @@ msgid "iCal export and API" msgstr "iCal Export und API" msgid "" -"Export your own shifts. iCal format or JSON format available (please keep secret, otherwise iCal format or JSON format available (please keep secret, otherwise reset the api key)." msgstr "" -"Exportiere Deine Schichten. iCal Format oder JSON Format verfügbar (Link bitte geheimhalten, sonst iCal Format oder JSON Format verfügbar (Link bitte geheimhalten, sonst API-Key zurücksetzen)." msgid "Show API Key" diff --git a/resources/views/admin/schedule/index.twig b/resources/views/admin/schedule/index.twig index 2e7352c7..d19a24a8 100644 --- a/resources/views/admin/schedule/index.twig +++ b/resources/views/admin/schedule/index.twig @@ -35,7 +35,7 @@ {% for schedule in schedules %} {{ schedule.name }} - {{ schedule.url }} + {{ schedule.url }}

{{ csrf() }} diff --git a/resources/views/layouts/maintenance.html b/resources/views/layouts/maintenance.html index 305dbb03..4f4b4732 100644 --- a/resources/views/layouts/maintenance.html +++ b/resources/views/layouts/maintenance.html @@ -64,8 +64,8 @@
- Bugs / Features - · Development Platform + Bugs / Features + · Development Platform
diff --git a/resources/views/layouts/parts/footer.twig b/resources/views/layouts/parts/footer.twig index a5e6580b..56a048d9 100644 --- a/resources/views/layouts/parts/footer.twig +++ b/resources/views/layouts/parts/footer.twig @@ -46,8 +46,8 @@ · {% endif %} {% endfor %} - {{ __('footer.issues') }} - · {{ __('footer.github') }} + {{ __('footer.issues') }} + · {{ __('footer.github') }} · {{ __('credits.title') }} diff --git a/resources/views/pages/settings/profile.twig b/resources/views/pages/settings/profile.twig index e7e33e1b..26213e19 100644 --- a/resources/views/pages/settings/profile.twig +++ b/resources/views/pages/settings/profile.twig @@ -160,7 +160,7 @@ 'form_text': (tShirtLink ? m.icon('info-circle') ~ ' ' + ~ '" target="_blank" rel="noopener">' ~ __('settings.profile.shirt.link')|e ~ '' : ''), }) }}