aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2022-11-18 13:32:14 +0000
committerMario <mario@mariovavti.com>2022-11-18 13:32:14 +0000
commitbf335ecaf36e628fc76b3fc84c4a73ab82f9e2a0 (patch)
treeb2d68e9700b4403a4d1260b04094d5c13bd4b079 /view
parent424bc73f587add4907f7d2356b24e16ed3c55080 (diff)
downloadvolse-hubzilla-bf335ecaf36e628fc76b3fc84c4a73ab82f9e2a0.tar.gz
volse-hubzilla-bf335ecaf36e628fc76b3fc84c4a73ab82f9e2a0.tar.bz2
volse-hubzilla-bf335ecaf36e628fc76b3fc84c4a73ab82f9e2a0.zip
hq widget: use distinct classes for seen and unseen thread items count
Diffstat (limited to 'view')
-rw-r--r--view/tpl/messages_widget.tpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/view/tpl/messages_widget.tpl b/view/tpl/messages_widget.tpl
index 90f8e13c7..ed3bc0aaf 100644
--- a/view/tpl/messages_widget.tpl
+++ b/view/tpl/messages_widget.tpl
@@ -54,7 +54,7 @@
</div>
<small>{{$e.info}}</small>
{{if $e.unseen}}
- <span class="badge bg-primary rounded-pill position-absolute bottom-0 end-0 m-2" title="{{$strings.unseen}}">{{$e.unseen}}</span>
+ <span class="badge {{$e.unseen_class}} rounded-pill position-absolute bottom-0 end-0 m-2" title="{{$strings.unseen}}">{{$e.unseen}}</span>
{{/if}}
</a>
{{/foreach}}
@@ -129,7 +129,7 @@
e.author_addr,
e.href,
e.icon,
- e.unseen ? '<span class="badge bg-primary rounded-pill position-absolute bottom-0 end-0 m-2" title="{{$strings.unseen}}">' + e.unseen + '</span>' : ''
+ e.unseen ? '<span class="badge ' + e.unseen_class + ' rounded-pill position-absolute bottom-0 end-0 m-2" title="{{$strings.unseen}}">' + e.unseen + '</span>' : ''
);
$('#messages-loading').before(html);
});