Add comment count to actionbar

This commit is contained in:
cuom1999 2023-01-26 11:53:24 -06:00
parent 08fae0d0dc
commit 840209b2cb

View file

@ -20,7 +20,7 @@
<span class="actionbar-block"> <span class="actionbar-block">
<span class="actionbar-button actionbar-comment"> <span class="actionbar-button actionbar-comment">
<i class="fa fa-comment-o" style="font-size: large;"></i> <i class="fa fa-comment-o" style="font-size: large;"></i>
<span class="actionbar-text">{{_("Comment")}}</span> <span class="actionbar-text">{{_("Comment")}} {% if comment_list.count() %} ({{comment_list.count()}}) {% endif %}</span>
</span> </span>
</span> </span>
{% endif %} {% endif %}