{% extends 'rb/emails/base_email.html' %}
{% block header_recipient %}{% trans name=user.first_name %}Dear {{ name }},{% endtrans %}{% endblock %}
{% block subject -%}
{% if reservations|length == 1 -%}
{% trans %}One of your bookings will come to an end soon{% endtrans %}
{%- else -%}
{% trans %}Some of your bookings will come to an end soon{% endtrans %}
{%- endif %}
{%- endblock %}
{% block body -%}
{% block message %}
{%- if reservations|length == 1 -%}
{% trans %}There is a booking under your name that will soon come to an end:{% endtrans %}
{%- else -%}
{% trans %}There are bookings under your name that will soon come to an end:{% endtrans %}
{%- endif %}
{% endblock %}