{% load i18n icons permissions translations %}
{% if not in_email %}
{% if change.can_revert %}
{% perm 'unit.edit' change.unit as user_can_translate %}
{% if user_can_translate %}
{% icon "undo.svg" %}
{% endif %}
{% endif %}
{% if change.user and not change.user.is_anonymous and change.project %}
{% perm 'project.permissions' change.project as user_can_edit_permissions %}
{% if user_can_edit_permissions %}
{% icon "account-cancel.svg" %}
{% endif %}
{% endif %}
{% if debug %}
{% icon "bell.svg" %}
{% endif %}
{% icon "magnify-plus-outline.svg" %}
{% endif %}
{{ change.get_user_display }}
{{ change.get_action_display }} {% if user.is_superuser %} {% with ip_address=change.get_ip_address %} {% if ip_address %}{{ ip_address }} {% endif %} {% endwith %} {% endif %} |
{% with details=change.get_details_display %}
{% if details %}
{{ details }}
{% elif change.show_content and change.unit %}
{% if change.details.rejection_reason %}
{% if in_email %}
{% translate "View" %}
{% endif %}
|
{% translate "No matching activity found." %} |