From 95527016624f8522d6d8dbf9ee76af55075fac91 Mon Sep 17 00:00:00 2001 From: James Cole Date: Wed, 25 Sep 2024 17:38:17 +0200 Subject: [PATCH] Fix https://github.com/firefly-iii/firefly-iii/issues/9168 --- resources/views/partials/menu-sidebar.twig | 24 ++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/resources/views/partials/menu-sidebar.twig b/resources/views/partials/menu-sidebar.twig index f65cf7685c..f3487f6e8c 100644 --- a/resources/views/partials/menu-sidebar.twig +++ b/resources/views/partials/menu-sidebar.twig @@ -85,12 +85,12 @@ {% if true == featuringWebhooks %} -
  • - - - {{ 'webhooks'|_ }} - -
  • +
  • + + + {{ 'webhooks'|_ }} + +
  • {% else %}
  • @@ -230,10 +230,18 @@
  • - - {% if 'remote_user_guard' != authGuard or '' != logoutUri %} + {% if 'web' == authGuard %}
  • + + {{ 'logout'|_ }} + + +
  • + {% endif %} + {% if 'remote_user_guard' == authGuard and '' != logoutUrl %} +
  • + {{ 'logout'|_ }}