Don't show boost button for toots that can't be boosted.

This commit is contained in:
Jason McBrayer 2018-05-13 20:19:34 -04:00
parent d5e224a063
commit df085c5956
1 changed files with 2 additions and 0 deletions

View File

@ -75,6 +75,7 @@
</i></span> </i></span>
</a> </a>
</div> </div>
{% if toot.visibility != 'private' and toot.visibility != 'direct' %}
<div class="level-item"> <div class="level-item">
<a href="{% url "boost" toot.id %}"> <a href="{% url "boost" toot.id %}">
<span class="icon is-small"> <span class="icon is-small">
@ -88,6 +89,7 @@
</span> </span>
</a> </a>
</div> </div>
{% endif %}
<div class="level-item"> <div class="level-item">
<a href="{% url "fav" toot.id %}"> <a href="{% url "fav" toot.id %}">
<span class="icon is-small"> <span class="icon is-small">