From f224d70750abeee7501585fe20d16008b19b3074 Mon Sep 17 00:00:00 2001 From: Jason McBrayer Date: Thu, 30 Aug 2018 18:57:24 -0400 Subject: [PATCH] Add progress indicator on boost/fav --- brutaldon/templates/main/toot_partial.html | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/brutaldon/templates/main/toot_partial.html b/brutaldon/templates/main/toot_partial.html index 2c72e9a..ff2458a 100644 --- a/brutaldon/templates/main/toot_partial.html +++ b/brutaldon/templates/main/toot_partial.html @@ -92,7 +92,8 @@ {% if toot.visibility != 'private' and toot.visibility != 'direct' %} + ic-post-to="{% url "boost" toot.id %}" + ic-indicator="#toot-spinner"> {% if toot.reblogged %} Boosted @@ -105,7 +106,8 @@ {% endif %} + ic-post-to="{% url "fav" toot.id %}" + ic-indicator="#toot-spinner"> {% if toot.favourited %} Favorited @@ -116,6 +118,7 @@ +
{% if toot.account.acct == own_acct.acct %}