50 lines
2.3 KiB
HTML
50 lines
2.3 KiB
HTML
{% extends 'emails/base_email_template.html' %}
|
|
{% load i18n %}
|
|
|
|
{% block title %}{% trans "New Complaint Notification - Al Hammadi Hospital" %}{% endblock %}
|
|
{% block preheader %}{{ priority_badge|default:"New" }} complaint: {{ complaint_title|truncatechars:50 }}{% endblock %}
|
|
|
|
{% block content %}
|
|
<p style="margin: 0 0 15px;">
|
|
{% trans "Dear" %} <strong>{{ admin_name|default:'Admin' }}</strong>>,
|
|
</p>
|
|
|
|
<p style="margin: 0 0 20px;">
|
|
{% trans "A new complaint has been submitted and requires your attention. Please review the details below." %}
|
|
</p>
|
|
|
|
<p style="margin: 0 0 5px;"><strong>{% trans "Reference" %}:</strong> {{ reference_number }}</p>
|
|
<p style="margin: 0 0 5px;"><strong>{% trans "Title" %}:</strong> {{ complaint_title }}</p>
|
|
<p style="margin: 0 0 5px;"><strong>{% trans "Priority" %}:</strong> {{ priority|title }}</p>
|
|
<p style="margin: 0 0 5px;"><strong>{% trans "Severity" %}:</strong> {{ severity|title }}</p>
|
|
<p style="margin: 0 0 5px;"><strong>{% trans "Patient" %}:</strong> {{ patient_name|default:"N/A" }}</p>
|
|
<p style="margin: 0 0 5px;"><strong>{% trans "Hospital" %}:</strong> {{ hospital_name|default:"N/A" }}</p>
|
|
<p style="margin: 0 0 20px;"><strong>{% trans "Department" %}:</strong> {{ department_name|default:"N/A" }}</p>
|
|
|
|
{% if description %}
|
|
<p style="margin: 0 0 5px;"><strong>{% trans "Description" %}:</strong></p>
|
|
<p style="margin: 0 0 20px;">{{ description }}</p>
|
|
{% endif %}
|
|
|
|
<p style="margin: 0 0 25px;">
|
|
{% trans "Please review and activate this complaint at your earliest convenience." %}
|
|
</p>
|
|
|
|
<table role="presentation" cellspacing="0" cellpadding="0" border="0" width="100%">
|
|
<tr>
|
|
<td align="center">
|
|
<a href="{{ complaint_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 "View Complaint" %}
|
|
</a>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<p style="margin: 25px 0 0; font-size: 14px; color: #666666;">
|
|
<strong>{% trans "Type:" %}</strong> {{ notification_type|default:"Working Hours" }}<br>
|
|
<strong>{% trans "Time:" %}</strong> {{ current_time }}<br>
|
|
{% trans "This is an automated notification from the PX 360 system." %}
|
|
</p>
|
|
{% endblock %}
|