HH/templates/emails/observation_monthly_followup.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

58 lines
2.9 KiB
HTML

{% extends 'emails/base_email_template.html' %}
{% load i18n %}
{% block title %}{% trans "Monthly Follow-Up Due - Observation" %}{% endblock %}
{% block preheader %}{% trans "A resolved observation requires monthly follow-up review." %}{% endblock %}
{% block content %}
<p style="margin: 0 0 15px;">
{% trans "Dear" %} <strong>{{ recipient_name|default:'Colleague' }}</strong>,
</p>
<p style="margin: 0 0 20px;">
{% trans "An observation previously resolved by your team is due for its monthly follow-up review. Please verify that the issue has been fully addressed and sustained." %}
</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 "Category:" %}</strong> {% if observation.category %}{{ observation.category.name_en }}{% else %}N/A{% endif %}</p>
<p style="margin: 0 0 5px;"><strong>{% trans "Status:" %}</strong> {{ observation.get_status_display }}</p>
{% if observation.assigned_department %}
<p style="margin: 0 0 5px;"><strong>{% trans "Department:" %}</strong> {{ observation.assigned_department.name }}</p>
{% endif %}
{% if observation.resolved_at %}
<p style="margin: 0 0 5px;"><strong>{% trans "Resolved On:" %}</strong> {{ observation.resolved_at|date:"F d, Y" }}</p>
{% endif %}
{% if observation.resolution_notes %}
<p style="margin: 15px 0 5px;"><strong>{% trans "Previous Resolution Notes:" %}</strong></p>
<p style="margin: 0 0 20px;">{{ observation.resolution_notes|truncatechars:500 }}</p>
{% endif %}
<p style="margin: 0 0 5px;">- {% trans "Verify that the corrective actions are still effective" %}</p>
<p style="margin: 0 0 5px;">- {% trans "Confirm the issue has not recurred" %}</p>
<p style="margin: 0 0 25px;">- {% trans "Update the observation with follow-up notes" %}</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: #005696;">
{% trans "Review 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;">
ملاحظة سابقة الحل تحتاج إلى مراجعة المتابعة الشهرية. يرجى التحقق من استمرار فعالية الإجراءات التصحيحية.
</p>
{% endblock %}