From 5482fd369225aeb1aaf81ec68830e9152cd798f2 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Mon, 28 Feb 2022 03:32:28 +0200 Subject: [PATCH] dramamine --- files/templates/authforms.html | 4 +-- files/templates/default.html | 4 +-- files/templates/home.html | 43 ++++++++++++++----------- files/templates/log.html | 4 +-- files/templates/login.html | 2 +- files/templates/login_2fa.html | 2 +- files/templates/settings.html | 2 +- files/templates/settings2.html | 4 +-- files/templates/sign_up.html | 2 +- files/templates/sign_up_failed_ref.html | 2 +- files/templates/submit.html | 4 +-- 11 files changed, 39 insertions(+), 34 deletions(-) diff --git a/files/templates/authforms.html b/files/templates/authforms.html index b103b63c3..4a11b47e5 100644 --- a/files/templates/authforms.html +++ b/files/templates/authforms.html @@ -15,7 +15,7 @@ {% if v %} - + {% if v.agendaposter %} - + {% endif %} diff --git a/files/templates/default.html b/files/templates/default.html index 57b66338d..87fc96da9 100644 --- a/files/templates/default.html +++ b/files/templates/default.html @@ -7,7 +7,7 @@ {% if v %} - + {% if v.agendaposter %} - + {% endif %} {% if sub and sub.css and not request.path.endswith('settings') %} diff --git a/files/templates/home.html b/files/templates/home.html index c3cd5c6fb..08a4641e3 100644 --- a/files/templates/home.html +++ b/files/templates/home.html @@ -37,25 +37,30 @@ {% 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 + {% else %} + CC + {% endif %} + {% endif %} + + {% if v %} + {% endif %} - - -
-