From c72893372afe255689ff56a618b6c849974569a3 Mon Sep 17 00:00:00 2001 From: Andrew Godwin Date: Mon, 28 Nov 2022 22:42:40 -0700 Subject: Collapse notifications on the same post --- templates/activities/_event.html | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'templates/activities/_event.html') diff --git a/templates/activities/_event.html b/templates/activities/_event.html index c6d30b1..0c94aad 100644 --- a/templates/activities/_event.html +++ b/templates/activities/_event.html @@ -13,21 +13,27 @@ {{ event.subject_identity.name_or_handle }} liked your post + {% if not event.collapsed %} {% include "activities/_post.html" with post=event.subject_post %} + {% endif %} {% elif event.type == "mentioned" %}
+ {% if not event.collapsed %} {% include "activities/_post.html" with post=event.subject_post %} + {% endif %} {% elif event.type == "boosted" %} + {% if not event.collapsed %} {% include "activities/_post.html" with post=event.subject_post %} + {% endif %} {% else %} Unknown event type {{event.type}} {% endif %} -- cgit v1.2.3