{% extends "email_sender/base_email.html" %} {% load i18n %} {% block title %}{% trans "Appointment Reschedule" %}{% endblock %} {% block preheader %}{{ old_date|date:"l, d F Y" }} → {{ reschedule_date|date:"l, d F Y" }}{% endblock %} {% block heading %}{% trans "Appointment Reschedule" %}{% endblock %} {% block content %} {% if is_confirmation %}

{% if first_name %}{% blocktrans trimmed %}Dear {{ first_name }},{% endblocktrans %}{% else %}{% trans "Hi" %},{% endif %}

{% trans "You have requested to reschedule your appointment. Please review the changes below and confirm:" %}

{% else %}

{% trans "Hi" %},

{% blocktrans trimmed %} An appointment with {{ client_name }} for the service {{ service_name }} has been rescheduled. {% endblocktrans %}

{% if reason_for_rescheduling %}

{% trans "Reason for rescheduling:" %} {{ reason_for_rescheduling }}

{% endif %} {% endif %} {# The old and the new time side by side (one under the other on narrow screens) #}
{% trans "Original Appointment:" %}
{{ old_date|date:"l, d F Y" }}
{{ old_start_time|time }} – {{ old_end_time|time }}
{% trans "Rescheduled Appointment:" %}
{{ reschedule_date|date:"l, d F Y" }}
{{ start_time|time }} – {{ end_time|time }}
{% if is_confirmation %}

{% trans "Confirm Appointment" %}

{% trans "This link will expire in 5 minutes. If you do not confirm within this time frame, you will need to submit a new reschedule request." %}

{% trans "If the button above does not work, please copy and paste the following link into your browser:" %}
{{ confirmation_link }}

{% endif %}

{% trans "Thank you," %}
{{ company }}

{% endblock %}