From a3a36de985556c46d1cac3480d6ca8ba6a53f2f1 Mon Sep 17 00:00:00 2001 From: Igor Scheller Date: Sun, 24 Dec 2023 14:08:41 +0100 Subject: [PATCH] Fixed formatting --- config/config.default.php | 4 ++-- resources/views/layouts/parts/navbar.twig | 4 +--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/config/config.default.php b/config/config.default.php index 2988fc48..a971b2ea 100644 --- a/config/config.default.php +++ b/config/config.default.php @@ -32,9 +32,9 @@ return [ // Available link placeholders: %lang% // To disable a header_item in the config.php, you can set its value to null 'header_items' => [ + // Name can be a translation string, permission is a engelsystem privilege // 'Name' => 'URL', // 'Name' => ['URL', 'permission'], - // Name can be a translation string, permission is a engelsystem privilege //'Foo' => ['https://foo.bar/batz-%lang%.html', 'logout'], // Permission: for logged-in users ], @@ -42,9 +42,9 @@ return [ // Footer links // To disable a footer item in the config.php, you can set its value to null 'footer_items' => [ + // Name can be a translation string, permission is a engelsystem privilege // 'Name' => 'URL', // 'Name' => ['URL', 'permission'], - // Name can be a translation string, permission is a engelsystem privilege // URL to the angel faq and job description 'faq.faq' => [env('FAQ_URL', '/faq'), 'faq.view'], diff --git a/resources/views/layouts/parts/navbar.twig b/resources/views/layouts/parts/navbar.twig index 3f8d1281..ff776a07 100644 --- a/resources/views/layouts/parts/navbar.twig +++ b/resources/views/layouts/parts/navbar.twig @@ -50,9 +50,7 @@ {% set permission = opt is iterable ? opt[1] : null %} {% if not permission or has_permission_to(permission) %}