diff options
Diffstat (limited to 'templates/activities/_event.html')
-rw-r--r-- | templates/activities/_event.html | 6 |
1 files changed, 6 insertions, 0 deletions
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 }} </a> liked your post </div> + {% if not event.collapsed %} {% include "activities/_post.html" with post=event.subject_post %} + {% endif %} {% elif event.type == "mentioned" %} <div class="mention-banner"> <a href="{{ event.subject_identity.urls.view }}"> {{ event.subject_identity.name_or_handle }} </a> mentioned you </div> + {% if not event.collapsed %} {% include "activities/_post.html" with post=event.subject_post %} + {% endif %} {% elif event.type == "boosted" %} <div class="boost-banner"> <a href="{{ event.subject_identity.urls.view }}"> {{ event.subject_identity.name_or_handle }} </a> boosted your post </div> + {% if not event.collapsed %} {% include "activities/_post.html" with post=event.subject_post %} + {% endif %} {% else %} Unknown event type {{event.type}} {% endif %} |