From 3e37cb858291a31454347673ad9dba2d2906ebea Mon Sep 17 00:00:00 2001 From: Patrick Jentsch Date: Fri, 3 Dec 2021 14:56:56 +0100 Subject: [PATCH] Fix some navigation issues --- app/templates/_sidenav.html.j2 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/templates/_sidenav.html.j2 b/app/templates/_sidenav.html.j2 index e50e345a..c3ac9ab8 100644 --- a/app/templates/_sidenav.html.j2 +++ b/app/templates/_sidenav.html.j2 @@ -22,9 +22,10 @@
  • Account
  • settingsSettings
  • Log out
  • - {% if current_user.can(Permission.ADMINISTRATE) %} + {% if current_user.can(Permission.ADMINISTRATE) or current_user.can(Permission.USE_API) %}
  • -
  • Specials
  • + {% endif %} + {% if current_user.can(Permission.ADMINISTRATE) %}
  • admin_panel_settingsAdministration
  • {% endif %} {% if current_user.can(Permission.USE_API) %}