HH/templates/emails/observation_dept_response_escalation.html
ismail c5f76b3855
Some checks are pending
Build and Push Docker Image / build (push) Waiting to run
updates
2026-05-11 14:45:30 +03:00

44 lines
2.0 KiB
HTML

{% extends 'emails/base_email_template.html' %}
{% load i18n %}
{% block title %}{% trans "ESCALATION - Department Response Overdue" %}{% endblock %}
{% block preheader %}{% trans "An observation department response is overdue and has been escalated." %}{% endblock %}
{% block content %}
<p style="margin: 0 0 15px;">
{% trans "Dear" %} <strong>{{ recipient_name|default:'Department Manager' }}</strong>,
</p>
<p style="margin: 0 0 20px; color: #dc2626; font-weight: bold;">
{% trans "ESCALATION: A department response for an observation is overdue and requires your immediate attention." %}
</p>
<p style="margin: 0 0 5px;"><strong>{% trans "Tracking Code:" %}</strong> {{ observation.tracking_code }}</p>
{% if observation.title %}
<p style="margin: 0 0 5px;"><strong>{% trans "Title:" %}</strong> {{ observation.title }}</p>
{% endif %}
<p style="margin: 0 0 5px;"><strong>{% trans "Department:" %}</strong> {{ department_name }}</p>
<p style="margin: 0 0 5px;"><strong>{% trans "Response Deadline:" %}</strong> {{ sla_due_at|date:"F d, Y H:i" }}</p>
<p style="margin: 0 0 20px;"><strong>{% trans "Hours Overdue:" %}</strong> {{ hours_overdue }}</p>
{% if observation_url %}
<table role="presentation" cellspacing="0" cellpadding="0" border="0" width="100%">
<tr>
<td align="center">
<a href="{{ observation_url }}"
style="display: inline-block; padding: 12px 32px; font-size: 16px; font-weight: 600; color: #ffffff; text-decoration: none; border-radius: 6px; background-color: #dc2626;">
{% trans "View Observation" %}
</a>
</td>
</tr>
</table>
{% endif %}
<p style="margin: 25px 0 5px; font-size: 13px; color: #666666; direction: rtl; text-align: right;">
تصعيد - رد القسم متأخر - {{ observation.tracking_code }}
</p>
<p style="margin: 0; font-size: 12px; color: #999999; direction: rtl; text-align: right; line-height: 1.8;">
موعد الاستحقاق: {{ sla_due_at|date:"Y F d H:i" }} - ساعات التأخير: {{ hours_overdue }}
</p>
{% endblock %}