{% load activity_tags %} {% if event.type == "followed" %}
{% include "activities/_identity.html" with identity=event.subject_identity created=event.created %} {% elif event.type == "liked" %} {% 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 event=event %} {% endif %} {% else %} Unknown event type {{event.type}} {% endif %}