From e00dc41afada45c9cc0cab882d5e67f8d0c980f2 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Fri, 26 Apr 2024 18:33:58 +0300 Subject: "Mark read" button --- src/main/resources/templates/views/settings_main.html | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/main/resources') diff --git a/src/main/resources/templates/views/settings_main.html b/src/main/resources/templates/views/settings_main.html index 8937f507..954edb98 100644 --- a/src/main/resources/templates/views/settings_main.html +++ b/src/main/resources/templates/views/settings_main.html @@ -6,8 +6,11 @@

Verify your account by adding email or social account

{% endif %}
- Browser notifications - + Notifications +
Browser notifications:
+ {% if visitor.unreadCount > 0 %} +
Unread messages: {{ visitor.unreadCount }}
+ {% endif %}