{% load i18n %} {% load translations %} {% load permissions %} {% load icons %}
{{ change.get_user_display }}
{{ change.get_action_display }} {% if change.project %} {{ change.project }} {% endif %} {% if change.component %} / {{ change.component.name }} {% endif %} {% if change.translation %} — {{ change.translation.language }} {% endif %} |
{% if not in_email %}
{% icon "magnify-plus-outline.svg" %}
{% if debug %}
{% icon "bell.svg" %}
{% endif %}
{% 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 %}
{% perm 'project.permissions' change.project as user_can_edit_permissions %}
{% if change.project and user_can_edit_permissions %}
{% icon "account-cancel.svg" %}
{% endif %}
{% endif %}
{% endif %}
{% with details=change.get_details_display %}
{% if details %}
{{ details }}
{% elif change.can_revert %}
{% format_translation change.get_source change.unit.translation.component.source_language %}
{% format_translation change.target change.unit.translation.language change.unit.translation.plural diff=change.old %}
{% elif change.show_content and change.unit %}
{% format_translation change.unit.source change.unit.translation.component.source_language %}
{% format_translation change.target change.unit.translation.language change.unit.translation.plural %}
{% elif change.show_source %}
{% format_translation change.target change.component.source_language diff=change.old %}
{% elif change.target %}
{{ change.timestamp|naturaltime }}
{% if in_email %}
{% else %}
{{ change.get_action_display }}
{% endif %}
{% endwith %}
{% trans "View" %}
{% endif %}
|
{% trans "No matching activity found." %} |