From 8be1c86deb52e56cb02a1a5d632f75516e775850 Mon Sep 17 00:00:00 2001 From: Tobias Kunze Date: Thu, 20 Mar 2025 10:57:17 +0100 Subject: [PATCH] Move org account switcher to sidebar header --- .../frontend/templates/includes/sidebar.html | 74 +++++++++---------- 1 file changed, 37 insertions(+), 37 deletions(-) diff --git a/src/servala/frontend/templates/includes/sidebar.html b/src/servala/frontend/templates/includes/sidebar.html index 4b7bc77..45da541 100644 --- a/src/servala/frontend/templates/includes/sidebar.html +++ b/src/servala/frontend/templates/includes/sidebar.html @@ -53,6 +53,43 @@ + {% if request.user.is_authenticated %} + {# request.user.is_authenticated #} + {% if user_organizations.count %} + + + {% else %} + + + {% translate "Create organization" %} + + {% endif %} + {% endif %}