{% load i18n %}

{% trans "Resolution" %}

{% if complaint.status == 'resolved' or complaint.status == 'closed' %}

{% trans "Complaint Resolved" %}

{% if complaint.resolution %}

{{ complaint.resolution|linebreaks }}

{% endif %}

{% trans "Resolved by:" %} {{ complaint.resolved_by.get_full_name|default:"-" }}

{% trans "Resolved at:" %} {{ complaint.resolved_at|date:"M d, Y H:i"|default:"-" }}

{% else %}

{% trans "Pending Resolution" %}

{% trans "This complaint has not been resolved yet." %}

{% if can_edit and complaint.is_active_status %} {% if complaint.assigned_to == current_user %}
{% csrf_token %} {% if explanations %}
{% endif %}
{% else %}

{% trans "Activate this complaint to resolve it" %}

{% endif %} {% endif %} {% endif %}