From 082d56788da8193b1c3bec25d2c3082ff44e9622 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Thu, 8 Dec 2022 14:15:21 +0200 Subject: [PATCH] move random user button on mobile and replace it with chat button under certain circumstances --- files/events/templates/sidebar_rDrama.html | 1 + files/templates/header.html | 9 ++++++++- files/templates/sidebar_PCM.html | 1 + files/templates/sidebar_WPD.html | 1 + files/templates/sidebar_rDrama.html | 1 + 5 files changed, 12 insertions(+), 1 deletion(-) diff --git a/files/events/templates/sidebar_rDrama.html b/files/events/templates/sidebar_rDrama.html index afa13b30a..8ac2e4c0a 100644 --- a/files/events/templates/sidebar_rDrama.html +++ b/files/events/templates/sidebar_rDrama.html @@ -15,6 +15,7 @@ {% endif %}

+ diff --git a/files/templates/header.html b/files/templates/header.html index 3f15014d9..879255af9 100644 --- a/files/templates/header.html +++ b/files/templates/header.html @@ -124,7 +124,14 @@ {% endif %} - + {% if FEATURES['CHAT'] and loggedin_chat < CHAT_DISPLAY_USER_COUNT_MINIMUM -%} + + + + {{loggedin_chat}} + + + {%- endif %} {% if v and FEATURES['GAMBLING'] %} diff --git a/files/templates/sidebar_PCM.html b/files/templates/sidebar_PCM.html index 10f071c7e..1000b7112 100644 --- a/files/templates/sidebar_PCM.html +++ b/files/templates/sidebar_PCM.html @@ -13,6 +13,7 @@ {% endif %}

+ diff --git a/files/templates/sidebar_WPD.html b/files/templates/sidebar_WPD.html index 9160a4375..7b2a7be51 100644 --- a/files/templates/sidebar_WPD.html +++ b/files/templates/sidebar_WPD.html @@ -13,6 +13,7 @@ {% endif %}

+ diff --git a/files/templates/sidebar_rDrama.html b/files/templates/sidebar_rDrama.html index 9e07f432f..ae34c6681 100644 --- a/files/templates/sidebar_rDrama.html +++ b/files/templates/sidebar_rDrama.html @@ -19,6 +19,7 @@ {% endif %}

+