initial implementation.
To Do: Add unsubscribe/subscribe functionality for participants
This commit is contained in:
19
rowers/templates/raceregisteredemail.html
Normal file
19
rowers/templates/raceregisteredemail.html
Normal file
@@ -0,0 +1,19 @@
|
||||
{% extends "emailbase.html" %}
|
||||
{% block body %}
|
||||
<p>Dear <strong>{{ username }}</strong>,</p>
|
||||
|
||||
<p>
|
||||
A new competitor has registered for the race {{ racename }}: {{ registeredname }}
|
||||
</p>
|
||||
|
||||
|
||||
<p>
|
||||
You can check race participants and results on the race page on Rowsandall:
|
||||
<a href="https://rowsandall.com/rowers/virtualevent/{{ raceid }}">{{ racename }}</a>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
Best Regards, the Rowsandall Team
|
||||
</p>
|
||||
{% endblock %}
|
||||
|
||||
19
rowers/templates/racesubmissionemail.html
Normal file
19
rowers/templates/racesubmissionemail.html
Normal file
@@ -0,0 +1,19 @@
|
||||
{% extends "emailbase.html" %}
|
||||
{% block body %}
|
||||
<p>Dear <strong>{{ username }}</strong>,</p>
|
||||
|
||||
<p>
|
||||
One of your competitors, {{ registeredname }}, has submitted a result for {{ racename }}
|
||||
</p>
|
||||
|
||||
|
||||
<p>
|
||||
Check out the results on the race page!
|
||||
<a href="https://rowsandall.com/rowers/virtualevent/{{ raceid }}">{{ racename }}</a>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
Best Regards, the Rowsandall Team
|
||||
</p>
|
||||
{% endblock %}
|
||||
|
||||
@@ -39,8 +39,12 @@
|
||||
<p>
|
||||
<a class="twitter-share-button"
|
||||
href="https://twitter.com/intent/tweet"
|
||||
data-url="{{ request.build_absolute_uri }}"
|
||||
data-text="@rowsandall #rowingdata Participate in Indoor Rowing virtual race '{{ race.name }}'">Tweet</a>
|
||||
data-url="{{ request.build_absolute_uri }}"
|
||||
{% if race.sessiontype == 'race' %}
|
||||
data-text="@rowsandall #rowingdata Participate in virtual race '{{ race.name }}'">Tweet</a>
|
||||
{% else %}
|
||||
data-text="@rowsandall #rowingdata Participate in Indoor Rowing virtual race '{{ race.name }}'">Tweet</a>
|
||||
{% endif %}
|
||||
</p>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user