From 095b0229a2e962f283dc6e1bedccb6e083ae7a65 Mon Sep 17 00:00:00 2001 From: TLSM Date: Sat, 9 Jul 2022 08:01:44 -0400 Subject: [PATCH] LGB: Rename holes; make hole sidebar Drama-like. --- files/helpers/const.py | 3 ++- files/templates/sidebar_LGBDropTheT.html | 24 +++++++++++++++--------- files/templates/sub/subs.html | 2 +- 3 files changed, 18 insertions(+), 11 deletions(-) diff --git a/files/helpers/const.py b/files/helpers/const.py index b22e1556b..1d29f0d52 100644 --- a/files/helpers/const.py +++ b/files/helpers/const.py @@ -154,7 +154,7 @@ PIN_ENABLED = True PIN_LIMIT = 3 POST_RATE_LIMIT = '1/second;2/minute;10/hour;50/day' LOGGEDIN_ACTIVE_TIME = 15 * 60 -PFP_DEFAULT_MARSEY = False#True +PFP_DEFAULT_MARSEY = True HOLE_NAME = 'hole' HOLE_STYLE_FLAIR = False @@ -325,6 +325,7 @@ elif SITE == 'lgbdropthet.com': PROCOINS_ENABLED = False PFP_DEFAULT_MARSEY = False + HOLE_NAME = 'community' AUTOJANNY_ID = 1 SNAPPY_ID = 3 diff --git a/files/templates/sidebar_LGBDropTheT.html b/files/templates/sidebar_LGBDropTheT.html index d32c12d1d..6fddd5439 100644 --- a/files/templates/sidebar_LGBDropTheT.html +++ b/files/templates/sidebar_LGBDropTheT.html @@ -13,6 +13,7 @@

+

@@ -21,18 +22,23 @@ {% if sub.sidebar_html %}
{{sub.sidebar_html|safe}}
{% endif %} - {% if v and v.mods(sub.name) %} - {{HOLE_NAME|upper}} SETTINGS - {{HOLE_NAME|upper}} EXILES - {{HOLE_NAME|upper}} FOLLOWERS - {{HOLE_NAME|upper}} BLOCKERS + {% if v %} + BROWSE COMMUNITIES + {% if v.mods(sub.name) %} + {{HOLE_NAME|upper}} SETTINGS + {% endif %} {% endif %} {{HOLE_NAME|upper}} MODS + {{HOLE_NAME|upper}} EXILES + {{HOLE_NAME|upper}} FOLLOWERS + {{HOLE_NAME|upper}} BLOCKERS + {% else %} + + DIRECTORY + Resources | Site Help | Megathreads + + BROWSE COMMUNITIES {% endif %} - - DIRECTORY - Resources | Site Help | Megathreads -