Indicate on toots if they have replies

This commit is contained in:
Jason McBrayer 2018-11-12 17:54:01 -05:00
parent 16a085fabb
commit ffe50791d1
1 changed files with 9 additions and 3 deletions

View File

@ -111,9 +111,15 @@
<nav class="level is-mobile">
<div class="level-left">
<a href="{% url "reply" toot.id %}" class="level-item">
<span class="fa fa-reply">
<span class="is-hidden-mobile">Reply</span>
</span>
{% if toot.replies_count > 0 %}
<span class="fa fa-reply-all">
<span class="is-hidden-mobile">Reply+</span>
</span>
{% else %}
<span class="fa fa-reply">
<span class="is-hidden-mobile">Reply</span>
</span>
{% endif %}
</a>
{% if toot.visibility != 'private' and toot.visibility != 'direct' %}
<a href="{% url "boost" toot.id %}" class="level-item"