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 %}