{% extends "layouts/base.html" %} {% load i18n static %} {% block title %}{% trans "Appreciation Detail" %} - PX360{% endblock %} {% block extra_css %} {% endblock %} {% block content %}
{% trans "Appreciations" %} {% trans "Detail" %} {{ appreciation.get_status_display }} {% if can_send %} {% trans "Not Sent to Dept" %} {% endif %}

{% trans "Appreciation Detail" %}

{% comment %} {% trans "PDF" %} {% endcomment %} {{ appreciation.created_at|date:"Y-m-d H:i" }} — {{ appreciation.hospital.get_localized_name }}

{% trans "Appreciation Message" %}

{{ appreciation.message_en|linebreaks }}

{% if appreciation.message_ar %}

{% trans "Arabic" %}

{{ appreciation.message_ar|linebreaks }}

{% endif %}
{% if metadata %}

{% trans "Submitted By" %}

{% if metadata.submitted_by_name %}

{% trans "Name" %}

{{ metadata.submitted_by_name }}

{% endif %} {% if metadata.submitted_by_phone %}

{% trans "Phone" %}

{{ metadata.submitted_by_phone }}

{% endif %} {% if metadata.submitted_by_email %}

{% trans "Email" %}

{{ metadata.submitted_by_email }}

{% endif %} {% if metadata.staff_name_mentioned %}

{% trans "Staff Mentioned" %}

{{ metadata.staff_name_mentioned }}

{% endif %}
{% endif %} {% if appreciation.recipient %}

{% trans "Appreciation For" %}

{{ appreciation.get_recipient_name }}

{% if appreciation.department %}

{{ appreciation.department.get_localized_name }}

{% endif %}
{% endif %} {% if appreciation.status == 'sent' or appreciation.status == 'acknowledged' %}

{% trans "Sent" %}

{% trans "Sent At" %}

{{ appreciation.sent_at|date:"Y-m-d H:i" }}

{% comment %}

{% trans "To Manager" %}

{% if appreciation.send_to_manager %}{% trans "Yes" %}{% else %}{% trans "No" %}{% endif %}

{% endcomment %} {% comment %}

{% trans "To Department" %}

{% if appreciation.send_to_department %}{% trans "Yes" %}{% else %}{% trans "No" %}{% endif %}

{% endcomment %}
{% if appreciation.custom_message %}

{% trans "Custom Message" %}

{{ appreciation.custom_message }}

{% endif %} {% if appreciation.cc_list %}

{% trans "CC" %}

{% for email in appreciation.cc_list %} {{ email }} {% endfor %}
{% endif %} {% if appreciation.acknowledged_at %}

{% trans "Acknowledged on" %} {{ appreciation.acknowledged_at|date:"Y-m-d H:i" }}

{% endif %}
{% endif %}
{% if appreciation.ai_analysis %} {% endif %}
{% if can_activate %}

{% trans "Activate Appreciation" %}

{% csrf_token %}

{% trans "Activate this appreciation to make it ready for routing to a department." %}

{% endif %} {% if can_send %}

{% trans "Send to Department" %}

{% trans "Route this appreciation to a department or a specific person for acknowledgment." %}

{% endif %}
{% endblock %}