Set locale to en_GB for dates in emails
[cds-indico.git] / indico / modules / rb / templates / emails / blockings / awaiting_confirmation_email_to_manager.txt
blob239e1014be0ea0936754dc1db647b5bf158f7473
1 {% extends 'rb/emails/base_email.txt' %}
2 {% block recipient %}{{ owner.first_name }}{% endblock %}
4 {% block email_body -%}
5 {{ blocking.created_by_user.full_name }} has created a blocking for {{ "some rooms" if blocked_rooms | length > 1 else "a room" }} you manage.
7 {% if blocked_rooms | length == 1 -%}
8 Room: {{ blocked_rooms[0].room.full_name }}
9 {%- else -%}
10 Rooms:
11     {% for blocked_room in blocked_rooms -%}
12     {{ blocked_room.room.full_name }}
13     {% endfor %}
14 {%- endif %}
15 Reason: {{ blocking.reason }}
16 Dates: {{ blocking.start_date | format_date(locale='en_GB') }} - {{ blocking.end_date | format_date(locale='en_GB') }}
18 You can approve or reject this blocking request here:
19 {{ url_for('rooms.blocking_my_rooms', state='pending', _external=true) }}
20 {%- endblock %}