diff options
Diffstat (limited to 'src/main/resources/templates')
-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 |