{% load i18n activity_tags bleach_tags markdown_tags submission_tags apply_tags heroicons %}

{{ activity|display_author:request.user }} {{ activity.timestamp|date:"SHORT_DATETIME_FORMAT" }} {% if activity.edited %} • {% trans "edited" %} {% endif %}

{% if editable and activity.user == request.user %}

{% trans "Edit" %}

{% endif %}
{% if submission_title %} {% trans "updated" %} {{ activity.source.title }} {% endif %} {% if editable %}
{{ activity|display_for:request.user|submission_links|markdown|bleach }}
{% else %}
{{ activity|display_for:request.user|submission_links|markdown|bleach }}
{% endif %} {% if not submission_title and activity|user_can_see_related:request.user %}
{% with url=activity.related_object.get_absolute_url %} {% if url %} {% trans "View " %}{{ activity.related_object|model_verbose_name }} {% endif %} {% endwith %}
{% endif %}
{% with activity.attachments.all as attachments %} {% if attachments %} {% endif %} {% endwith %}