Activate UIUX V2 navigation for System Admin
This commit is contained in:
@@ -111,7 +111,7 @@
|
||||
Sidebar is retained only for System Admin users.
|
||||
All other authenticated users use the floating top workspace bar on every page.
|
||||
Existing routes and old sidebar code are kept intact. #}
|
||||
{% set use_clean_top_nav = full_auth and not is_system_admin_user %}
|
||||
{% set use_clean_top_nav = full_auth %}
|
||||
|
||||
|
||||
<div class="min-h-screen {% if not use_clean_top_nav %}lg:grid lg:grid-cols-[260px_minmax(0,1fr)]{% endif %}">
|
||||
@@ -404,6 +404,9 @@
|
||||
<div class="min-h-screen">
|
||||
{% if use_clean_top_nav %}
|
||||
{% include "ui/templates/components/top_workspace_bar.html" %}
|
||||
{% if is_system_admin_user %}
|
||||
{% include "ui/templates/components/system_admin_navigation_v2.html" %}
|
||||
{% endif %}
|
||||
{% else %}
|
||||
<header class="border-b border-slate-200 bg-white/90 backdrop-blur">
|
||||
<div class="mx-auto max-w-7xl px-4 py-4 sm:px-6 lg:px-8">
|
||||
|
||||
Reference in New Issue
Block a user