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) %}