mirror of https://gitlab.com/brutaldon/brutaldon
Don't show boost button for toots that can't be boosted.
This commit is contained in:
parent
d5e224a063
commit
df085c5956
|
@ -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">
|
||||||
|
|
Loading…
Reference in New Issue