From 20e63023bb0d3c7e4cb36b91b73e79f51889cc90 Mon Sep 17 00:00:00 2001 From: Andrew Godwin Date: Tue, 15 Nov 2022 18:30:30 -0700 Subject: Get outbound likes/boosts and their undos working --- templates/activities/_boost.html | 35 ++++++++--------------------------- 1 file changed, 8 insertions(+), 27 deletions(-) (limited to 'templates/activities/_boost.html') diff --git a/templates/activities/_boost.html b/templates/activities/_boost.html index 601466e..8e90045 100644 --- a/templates/activities/_boost.html +++ b/templates/activities/_boost.html @@ -1,28 +1,9 @@ -{% load static %} -{% load activity_tags %} -
- - {% if post.author.icon_uri %} - - {% else %} - - {% endif %} - - - - - {{ post.author.name_or_handle }} @{{ post.author.handle }} +{% if post.pk in interactions.boost %} + + - -
- {{ post.safe_content }} -
-
+{% else %} + + + +{% endif %} -- cgit v1.2.3