From 1b67bf1be27f0272509597b56fbfcb4be7d01f28 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Tue, 22 Feb 2022 06:33:39 +0200 Subject: [PATCH] dfg --- files/templates/home.html | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/files/templates/home.html b/files/templates/home.html index 6e79f8f69..32530b1ec 100644 --- a/files/templates/home.html +++ b/files/templates/home.html @@ -34,23 +34,23 @@
-
+
{% block navbar %} +
- - {% if v and v.paid_dues %} - {% if ccmode=="true"%}CC{% endif %} - {% if ccmode=="false" %}CC{% endif %} + {% if request.path == '/' and v.paid_dues %} + {% if ccmode=="true"%}CC{% endif %} + {% if ccmode=="false" %}CC{% endif %} {% endif %} - {% if SITE_NAME == 'Drama' %} - {% if subs=="true"%}Subs{% endif %} - {% if subs=="false" %}Subs{% endif %} + {% if request.path == '/' and v and v.admin_level > 1 and SITE_NAME == 'Drama' %} + {% if subs=="true"%}Subs{% endif %} + {% if subs=="false" %}Subs{% endif %} {% endif %} - -