mirror of
https://gitlab.com/brutaldon/brutaldon.git
synced 2024-12-04 14:46:24 -05:00
Add progress indicator on boost/fav
This commit is contained in:
parent
77b79b32b8
commit
f224d70750
@ -92,7 +92,8 @@
|
||||
</a>
|
||||
{% if toot.visibility != 'private' and toot.visibility != 'direct' %}
|
||||
<a href="{% url "boost" toot.id %}" class="level-item"
|
||||
ic-post-to="{% url "boost" toot.id %}">
|
||||
ic-post-to="{% url "boost" toot.id %}"
|
||||
ic-indicator="#toot-spinner">
|
||||
{% if toot.reblogged %}
|
||||
<span class="fa fa-retweet has-text-warning">
|
||||
<strong class="is-hidden-mobile" >Boosted</strong>
|
||||
@ -105,7 +106,8 @@
|
||||
</a>
|
||||
{% endif %}
|
||||
<a href="{% url "fav" toot.id %}" class="level-item"
|
||||
ic-post-to="{% url "fav" toot.id %}">
|
||||
ic-post-to="{% url "fav" toot.id %}"
|
||||
ic-indicator="#toot-spinner">
|
||||
{% if toot.favourited %}
|
||||
<span class="fa fa-heart has-text-warning">
|
||||
<strong class="is-hidden-mobile" >Favorited</strong>
|
||||
@ -116,6 +118,7 @@
|
||||
</span>
|
||||
</span>
|
||||
</a>
|
||||
<i id="toot-spinner" class="fa fa-spinner fa-spin" style="display:none"></i>
|
||||
</div>
|
||||
<div class="level-right">
|
||||
{% if toot.account.acct == own_acct.acct %}
|
||||
|
Loading…
Reference in New Issue
Block a user