diff options
author | Vitaly Takmazov | 2024-04-26 18:33:58 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2024-04-26 18:33:58 +0300 |
commit | e00dc41afada45c9cc0cab882d5e67f8d0c980f2 (patch) | |
tree | daf9e4f9de024f51dc3a581f38bf1d34986ce74f /src/main/resources | |
parent | 57fae6b2d4e2f94e49a3b809a47ef4abc2a1ef80 (diff) |
"Mark read" buttonmark_read
Diffstat (limited to 'src/main/resources')
-rw-r--r-- | src/main/resources/templates/views/settings_main.html | 7 |
1 files changed, 5 insertions, 2 deletions
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 @@ <h2 style="color: red; padding: 20px;">Verify your account by adding email or social account</h2> {% endif %} <fieldset> - <legend>Browser notifications</legend> - <button class="Button" id="notifications_toggle">...</button> + <legend>Notifications</legend> + <div>Browser notifications: <button class="Button" id="notifications_toggle">...</button></div> + {% if visitor.unreadCount > 0 %} + <div>Unread messages: <b>{{ visitor.unreadCount }}</b> <button class="Button" id="messages_mark_read">Mark read</button></div> + {% endif %} </fieldset> <fieldset> <legend |