diff options
Diffstat (limited to 'juick-www/src/main/resources/templates/views/partial')
-rw-r--r-- | juick-www/src/main/resources/templates/views/partial/message.html | 8 |
1 files changed, 7 insertions, 1 deletions
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 @@ <a href="/{{ msg.mid }}" class="a-comment msg-button"> <span class="msg-button-icon"> <i data-icon="ei-comment" data-size="s"></i> - {% if msg.Replies > 0 %} {{ msg.Replies }}{% endif %} + {% if msg.Replies > 0 %} + {% if msg.unread %} + <span class="badge">{{ msg.Replies }}</span> + {% else %} + {{ msg.Replies }} + {% endif %} + {% endif %} </span> <span> {{ i18n("messages","message.comment") }}</span> </a> |