From d21ce3313dbf4ead6997bf462447daf060bcc9c1 Mon Sep 17 00:00:00 2001 From: Thomas Sileo Date: Fri, 26 Aug 2022 08:18:51 +0200 Subject: [PATCH] Fix notif page --- app/templates/notifications.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/templates/notifications.html b/app/templates/notifications.html index 70594ef..b2726c1 100644 --- a/app/templates/notifications.html +++ b/app/templates/notifications.html @@ -5,9 +5,10 @@ {{ local_actor.display_name }} - Notifications {% endblock %} -{% macro notif_actor_action(notif, text) %} +{% macro notif_actor_action(notif, text, with_icon=False) %}
- {{ notif.actor.display_name | clean_html(notif.actor) | safe }} {{ text }} + + {% if with_icon %}{{ utils.display_tiny_actor_icon(notif.actor) }}{% endif %} {{ notif.actor.display_name | clean_html(notif.actor) | safe }} {{ text }} {{ notif.created_at | timeago }}
{% endmacro %}