From 93ee6c435d2f8005f44e4a2c35fdf30bff3d0d8c Mon Sep 17 00:00:00 2001 From: Thomas Sileo Date: Fri, 26 Aug 2022 08:15:49 +0200 Subject: [PATCH] Tweak notifications --- app/templates/notifications.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/templates/notifications.html b/app/templates/notifications.html index a67c782..70594ef 100644 --- a/app/templates/notifications.html +++ b/app/templates/notifications.html @@ -36,17 +36,17 @@ {{ notif_actor_action(notif, "rejected your follow request") }} {{ utils.display_actor(notif.actor, actors_metadata) }} {% elif notif.notification_type.value == "like" %} - {{ notif_actor_action(notif, "liked a post") }} + {{ notif_actor_action(notif, "liked a post", with_icon=True) }} {{ utils.display_object(notif.outbox_object) }} {% elif notif.notification_type.value == "undo_like" %} - {{ notif_actor_action(notif, "unliked a post") }} + {{ notif_actor_action(notif, "unliked a post", with_icon=True) }} {{ utils.display_object(notif.outbox_object) }} {% elif notif.notification_type.value == "announce" %} - {{ notif_actor_action(notif, "shared a post") }} + {{ notif_actor_action(notif, "shared a post", with_icon=True) }} {{ utils.display_object(notif.outbox_object) }} {% elif notif.notification_type.value == "undo_announce" %} {{ notif_actor_action(notif, "unshared a post") }} - {{ utils.display_object(notif.outbox_object) }} + {{ utils.display_object(notif.outbox_object, with_icon=True) }} {% elif notif.notification_type.value == "mention" %} {{ notif_actor_action(notif, "mentioned you") }} {{ utils.display_object(notif.inbox_object) }}