From 5e8ca6c25df98be1a255556804baec22f43bb3dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=98=D0=B3=D0=BE=D1=80=D1=8C=20=D0=9D=D0=B0=D0=B4=D0=B5?= =?UTF-8?q?=D0=B8=D0=BD?= Date: Mon, 8 Dec 2025 08:36:56 +0300 Subject: [PATCH] refactor: remove total messages counter from chat list - Removed badge showing total message count (chat.messages.count) - Keep only unread messages counter for cleaner UI - Users can still see unread count which is more important --- backend/templates/includes/components/chat_title.html | 5 ----- 1 file changed, 5 deletions(-) diff --git a/backend/templates/includes/components/chat_title.html b/backend/templates/includes/components/chat_title.html index 46d71f8e..59e35f93 100644 --- a/backend/templates/includes/components/chat_title.html +++ b/backend/templates/includes/components/chat_title.html @@ -26,11 +26,6 @@ {% endif %} - {# Количество сообщений #} - - {{ chat.messages.count }} - - {# Счётчик непрочитанных #} +{{ chat.unread_count|default:0 }}