{% extends 'rb/emails/reservations/base_email_to_manager.txt' %}
{% block subject_prefix %}{% endblock %}
{% block subject -%}{% trans room=reservation.room.full_name, start=reservation.start_dt|format_datetime('short') -%}
    [{{ room }}] Booking confirmed ({{ start }})
{%- endtrans %}{%- endblock %}

{% block email_body -%}
    {%- filter dedent -%}
        {% trans room=reservation.room.full_name %}A booking in your room '{{ room }}' has been CONFIRMED by a room manager.{% endtrans %}

        {%- if reason %}

            {% trans %}The following message was provided by the room manager:{% endtrans %}
            {{ reason }}
        {%- endif -%}
    {%- endfilter -%}
{%- endblock %}
