-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5200 from onepercentclub/bugfix/BB-20448-join-tea…
…m-mails Fix mails for joining a team
- Loading branch information
Showing
19 changed files
with
222 additions
and
63 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
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
15 changes: 0 additions & 15 deletions
15
bluebottle/activities/templates/mails/messages/team_accepted.html
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
bluebottle/activities/templates/mails/messages/team_cancelled_team_captain.html
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
18 changes: 18 additions & 0 deletions
18
bluebottle/activities/templates/mails/messages/team_captain_accepted.html
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{% extends "mails/messages/activity_base.html" %} | ||
{% load i18n %} | ||
|
||
{% block message %} | ||
<p> | ||
{% if custom_message %} | ||
{{ custom_message|linebreaks }} | ||
{% else %} | ||
{% blocktrans context 'email' %}Your team has been accepted for the activity '{{ title }}'. | ||
{% endblocktrans %} | ||
{% endif %} | ||
</p> | ||
<p> | ||
{% blocktrans context 'email' %} | ||
On the activity page you will find the link to invite your team members. | ||
{% endblocktrans %} | ||
</p> | ||
{% endblock %} |
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
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
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
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
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
12 changes: 12 additions & 0 deletions
12
bluebottle/time_based/templates/mails/messages/partial/team_slot.html
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{% load i18n tz %} | ||
<p> | ||
{% trans 'Date' %}: {{ start|date:"SHORT_DATE_FORMAT" }} | ||
</p> | ||
<p> | ||
{% trans 'Time' %}: {{ start|date:'TIME_FORMAT' }} - {{ end|date:'TIME_FORMAT' }} {{ timezone }} | ||
</p> | ||
{% if location %} | ||
<p> | ||
{% trans 'Location' %}: {{ location }} {{ location_hint }} | ||
</p> | ||
{% endif %} |
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
36 changes: 36 additions & 0 deletions
36
bluebottle/time_based/templates/mails/messages/team_member_joined.html
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 |
---|---|---|
@@ -0,0 +1,36 @@ | ||
{% extends "mails/messages/participant_base.html" %} | ||
{% load i18n %} | ||
|
||
{% block message %} | ||
<p> | ||
{% blocktrans context 'email' %} | ||
You joined {{ team_name }} for an activity on <b>{{ site_name }}!</b> | ||
{% endblocktrans %} | ||
</p> | ||
|
||
<p> | ||
<b>{{ title }}</b> | ||
</p> | ||
|
||
{% if slots %} | ||
{% include 'mails/messages/partial/slots.html' %} | ||
{% else %} | ||
<p> | ||
{% blocktrans context 'email' %} | ||
The activity manager will be in touch to confirm details such as time, date and location. | ||
{% endblocktrans %} | ||
</p> | ||
{% endif %} | ||
|
||
{% endblock %} | ||
|
||
|
||
{% block end_message %} | ||
<p> | ||
<i> | ||
{% blocktrans context 'email' %} | ||
If you are unable to participate, please withdraw via the activity page so that others can take your place. | ||
{% endblocktrans %} | ||
</i> | ||
</p> | ||
{% endblock %} |
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
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
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
Oops, something went wrong.