From 54f36c0328ca0e813656a749fbeaf50784e22ae9 Mon Sep 17 00:00:00 2001 From: Aevann Date: Wed, 23 Aug 2023 01:44:12 +0300 Subject: [PATCH] WPD-specific bug thread --- files/helpers/config/const.py | 3 +++ files/templates/directory.html | 2 +- files/templates/header.html | 4 ++-- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/files/helpers/config/const.py b/files/helpers/config/const.py index 2683f03841..25ce43a062 100644 --- a/files/helpers/config/const.py +++ b/files/helpers/config/const.py @@ -601,6 +601,7 @@ LOTTERY_SINK_RATE = 3 LOTTERY_DURATION = 60 * 60 * 24 * 7 NOTIFICATION_THREAD = 1 +BUG_THREAD = 0 SIDEBAR_THREAD = 0 BANNER_THREAD = 0 @@ -675,6 +676,7 @@ if SITE == 'rdrama.net': FEATURES['ASSET_SUBMISSIONS'] = True NOTIFICATION_THREAD = 6489 + BUG_THREAD = 18459 SIDEBAR_THREAD = 37696 BANNER_THREAD = 37697 @@ -820,6 +822,7 @@ elif SITE == 'watchpeopledie.tv': ERROR_MARSEYS[403] = "marseyconfused" NOTIFICATION_THREAD = 27855 + BUG_THREAD = 56363 SIDEBAR_THREAD = 5403 BANNER_THREAD = 9869 diff --git a/files/templates/directory.html b/files/templates/directory.html index cacffc5a62..2feb137201 100644 --- a/files/templates/directory.html +++ b/files/templates/directory.html @@ -11,7 +11,7 @@ 'Bugs / Suggestions', 'Something broken? Improvements?', 'fa-bug', '#6b8e23', - '/post/18459', + '/post/' ~ BUG_THREAD, ), ( 'Changelog', diff --git a/files/templates/header.html b/files/templates/header.html index 19b09f5290..9f9a4c50a6 100644 --- a/files/templates/header.html +++ b/files/templates/header.html @@ -303,7 +303,7 @@ Source code - Bugs/Suggestions + Bugs/Suggestions {% if TELEGRAM_ID %} Telegram Channel @@ -366,7 +366,7 @@ Source code - Bugs/Suggestions + Bugs/Suggestions {% if TELEGRAM_ID %} Telegram Channel