-
Notifications
You must be signed in to change notification settings - Fork 411
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9e98187
commit aadcb07
Showing
8 changed files
with
12 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
indico/modules/rb/templates/emails/reservations/occurrence_cancellation_email_to_manager.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
{% 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('dd/MM/yyyy HH:mm', locale='en_GB') -%} | ||
[{{ room }}] Booking cancelled on ({{ start }}) (SINGLE OCCURRENCE) | ||
{% block subject -%}{% trans room=reservation.room.full_name, start=occurrence.start_dt|format_datetime('dd/MM/yyyy HH:mm', locale='en_GB') -%} | ||
[{{ room }}] Booking cancelled ({{ start }}) (SINGLE OCCURRENCE) | ||
{%- endtrans %}{%- endblock %} | ||
|
||
{% block email_body -%} | ||
{% trans date=reservation.start_dt | format_date('EEEE dd/MM/yyyy', locale='en_GB') -%} | ||
{% trans date=occurrence.start_dt | format_date('EEEE dd/MM/yyyy', locale='en_GB') -%} | ||
The date {{ date }} from a booking that concerns one of your rooms has been CANCELLED by the user. | ||
{%- endtrans %} | ||
{%- endblock %} |
2 changes: 1 addition & 1 deletion
2
indico/modules/rb/templates/emails/reservations/occurrence_cancellation_email_to_user.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
indico/modules/rb/templates/emails/reservations/occurrence_rejection_email_to_manager.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
indico/modules/rb/templates/emails/reservations/occurrence_rejection_email_to_user.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
.../templates/emails/reservations/tests/occurrence_cancellation_email_to_manager.subject.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
[1/2-3] Booking cancelled on (11/11/2022 13:37) (SINGLE OCCURRENCE) | ||
[1/2-3] Booking cancelled (11/11/2022 13:37) (SINGLE OCCURRENCE) |
2 changes: 1 addition & 1 deletion
2
.../rb/templates/emails/reservations/tests/occurrence_rejection_email_to_manager.subject.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
[1/2-3] Booking rejected on (11/11/2022 13:37) (SINGLE OCCURRENCE) | ||
[1/2-3] Booking rejected (11/11/2022 13:37) (SINGLE OCCURRENCE) |
2 changes: 1 addition & 1 deletion
2
...les/rb/templates/emails/reservations/tests/occurrence_rejection_email_to_user.subject.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
[1/2-3] Booking rejected on (11/11/2022 13:37) (SINGLE OCCURRENCE) | ||
[1/2-3] Booking rejected (11/11/2022 13:37) (SINGLE OCCURRENCE) |