From aa9cd35016d4c9c062fc234d358cdaca978027b3 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Tue, 22 Feb 2022 06:26:54 +0200 Subject: [PATCH] vc --- files/templates/home.html | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/files/templates/home.html b/files/templates/home.html index ded9c6584..6e79f8f69 100644 --- a/files/templates/home.html +++ b/files/templates/home.html @@ -37,21 +37,17 @@
{% block navbar %} -
-
- {% if request.path == '/' and v.paid_dues %} - {% if ccmode=="true"%}CC{% endif %} - {% if ccmode=="false" %}CC{% endif %} -
+ {% if v and v.paid_dues %} + {% if ccmode=="true"%}CC{% endif %} + {% if ccmode=="false" %}CC{% endif %} {% 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 %} -
+ {% if SITE_NAME == 'Drama' %} + {% if subs=="true"%}Subs{% endif %} + {% if subs=="false" %}Subs{% endif %} {% endif %}
-