From 89a1bec9c13564296c734cf7116f020a6c63ee59 Mon Sep 17 00:00:00 2001 From: Aaron Kable Date: Sun, 26 May 2024 02:56:04 +0000 Subject: [PATCH] Allow staff access to admin button in user menu --- allianceauth/menu/templates/menu/menu-user.html | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/allianceauth/menu/templates/menu/menu-user.html b/allianceauth/menu/templates/menu/menu-user.html index 4d013d0b..b98d5174 100644 --- a/allianceauth/menu/templates/menu/menu-user.html +++ b/allianceauth/menu/templates/menu/menu-user.html @@ -60,15 +60,17 @@
  • Alliance Auth Discord
  • -
  • - Alliance Auth Git -
  • - - {% translate "Admin" %} - + Alliance Auth Git
  • {% endif %} + {% if user.is_staff %} +
  • + + {% translate "Admin" %} + +
  • + {% endif %}
  • {% if user.is_authenticated %}