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 @@