From ba1bfe494334c0563131f9bcc6b8818e2a532855 Mon Sep 17 00:00:00 2001 From: Thomas Sileo Date: Sun, 27 Oct 2019 10:42:52 +0100 Subject: [PATCH] More compact likes/boosts diplay on permalink page --- templates/utils.html | 27 ++++++++++++++++++++------- 1 file changed, 20 insertions(+), 7 deletions(-) diff --git a/templates/utils.html b/templates/utils.html index 0e5e831..7062e24 100644 --- a/templates/utils.html +++ b/templates/utils.html @@ -15,6 +15,17 @@ {% endif %} {%- endmacro %} +{% macro display_actor_icon(follower, size=50) -%} +{% if follower and follower.id %} + +{% if not follower.icon %} + +{% else %} +{% endif %} + +{% endif %} +{%- endmacro %} + {% macro display_actor_oneline(follower) -%} {% if follower and follower.id %} @@ -385,18 +396,20 @@ {% if likes or shares %} -