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