diff --git a/files/routes/front.py b/files/routes/front.py index edf6dee3c..45c0c811d 100644 --- a/files/routes/front.py +++ b/files/routes/front.py @@ -151,11 +151,11 @@ def front_all(v, sub=None): if v: defaultsorting = v.defaultsorting - if SITE_NAME == '2Much4You': defaulttime = 'all' + if sub or SITE_NAME == '2Much4You': defaulttime = 'all' else: defaulttime = v.defaulttime else: defaultsorting = "hot" - if SITE_NAME == '2Much4You': defaulttime = 'all' + if sub or SITE_NAME == '2Much4You': defaulttime = 'all' else: defaulttime = v.defaulttime sort=request.values.get("sort", defaultsorting) diff --git a/files/templates/authforms.html b/files/templates/authforms.html index ed6d9554a..6d76ad835 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 1bac5b79d..5ea9e67ef 100644 --- a/files/templates/default.html +++ b/files/templates/default.html @@ -8,7 +8,7 @@ {% if v %} - + {% if v.agendaposter %} - + {% endif %} diff --git a/files/templates/header.html b/files/templates/header.html index 88505544a..58a840f92 100644 --- a/files/templates/header.html +++ b/files/templates/header.html @@ -1,6 +1,15 @@ {% if SITE_NAME == 'Drama' or SUBS %} + + {% elif SUBS %} - + {% if v.agendaposter %} - + {% endif %} diff --git a/files/templates/login.html b/files/templates/login.html index 6ce3969e8..8195c133c 100644 --- a/files/templates/login.html +++ b/files/templates/login.html @@ -19,7 +19,7 @@ - + diff --git a/files/templates/login_2fa.html b/files/templates/login_2fa.html index 6406708b9..673e0560b 100644 --- a/files/templates/login_2fa.html +++ b/files/templates/login_2fa.html @@ -14,7 +14,7 @@ 2-Step Login - {{SITE_NAME}} - + diff --git a/files/templates/settings.html b/files/templates/settings.html index b7559bf26..b40ccbd48 100644 --- a/files/templates/settings.html +++ b/files/templates/settings.html @@ -34,7 +34,7 @@ - + {% if v.agendaposter %} - + {% else %} - + {% endif %} diff --git a/files/templates/sign_up.html b/files/templates/sign_up.html index ef6f67903..50bd08ed7 100644 --- a/files/templates/sign_up.html +++ b/files/templates/sign_up.html @@ -31,7 +31,7 @@ {% if ref_user %}{{ref_user.username}} invites you to {{SITE_NAME}}{% else %}Sign up - {{SITE_NAME}}{% endif %} - + diff --git a/files/templates/sign_up_failed_ref.html b/files/templates/sign_up_failed_ref.html index 3e1a0226a..eba2b7cc7 100644 --- a/files/templates/sign_up_failed_ref.html +++ b/files/templates/sign_up_failed_ref.html @@ -32,7 +32,7 @@ {% if ref_user %}{{ref_user.username}} invites you to {{SITE_NAME}}{% else %}{{SITE_NAME}}{% endif %} - + diff --git a/files/templates/submit.html b/files/templates/submit.html index 3b9da5be1..dc2f5f1d0 100644 --- a/files/templates/submit.html +++ b/files/templates/submit.html @@ -26,7 +26,7 @@ {% block stylesheets %} {% if v %} - + {% if v.agendaposter %} - + {% endif %} {% endblock %}