2
0
mirror of https://github.com/jfmcbrayer/brutaldon synced 2025-02-03 17:27:31 +01:00

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

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">