From e24f7a7ce9eb765aa2f581defbe20433a647700d Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Thu, 12 Apr 2018 12:16:47 +0300 Subject: www: badge for unread thread --- juick-www/src/main/resources/templates/views/partial/message.html | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'juick-www/src/main/resources/templates') diff --git a/juick-www/src/main/resources/templates/views/partial/message.html b/juick-www/src/main/resources/templates/views/partial/message.html index 9e3ede6c..2e3667f2 100644 --- a/juick-www/src/main/resources/templates/views/partial/message.html +++ b/juick-www/src/main/resources/templates/views/partial/message.html @@ -54,7 +54,13 @@ - {% if msg.Replies > 0 %} {{ msg.Replies }}{% endif %} + {% if msg.Replies > 0 %}  + {% if msg.unread %} + {{ msg.Replies }} + {% else %} + {{ msg.Replies }} + {% endif %} + {% endif %}  {{ i18n("messages","message.comment") }} -- cgit v1.2.3