Private
Public Access
1
0

race registration records now with id

This commit is contained in:
Sander Roosendaal
2018-04-21 08:51:38 +02:00
parent 1db23056d0
commit 98ab345151
5 changed files with 56 additions and 26 deletions

View File

@@ -48,7 +48,7 @@
<th>Contact Phone</th><td>{{ race.contact_phone }}</td>
</tr>
<tr>
<th>Comment</th><td>{{ race.comment }}</td>
<th>Comment</th><td>{{ race.comment|linebreaks }}</td>
</tr>
</tbody>
</table>
@@ -57,11 +57,12 @@
<div id="registerbuttons">
{% if request.user.is_anonymous %}
<p>
Registered users of rowsandall.com can participate in this event.
Registered users of rowsandall.com can participate in this event. Participation is free, unless specified differently in the race comment above.
</p>
{% else %}
<p>
See race rules below.
See race rules below. Participation to this race is free,
unless specified differently in the race comment above.
</p>
<p>
{% for button in buttons %}
@@ -109,7 +110,7 @@
<tr>
<td>{{ forloop.counter }}</td>
<td>
<a href="/rowers/workout/{{ result.workout.id }}">
<a href="/rowers/workout/{{ result.workoutid }}">
{{ result.username }}</a></td>
<td>{{ result.teamname }}</th>
<td>{{ result.age }}</td>
@@ -156,8 +157,8 @@
<td>{{ record.username }}
<td>{{ record.teamname }}</td>
<td>{{ record.boattype }}</td>
<td>{{ record.weightcategory }}</td>
<td>{{ record.age }}</td>
<td>{{ record.weightcategory }}</td>
</tr>
{% endfor %}
</tbody>
@@ -166,6 +167,11 @@
</div>
<div id="rules">
<h2>Rules</h2>
<p>
Virtual races are intended as an informal way to add a
competitive element to training and as a quick way to set
up and manage small regattas.
</p>
<p>
As a rowsandall.com user, you can
register to take part in this event.
@@ -180,7 +186,7 @@
After the start of the race window and before the submission deadline,
you can submit results by linking the race to one of your uploaded
workouts. The workout start time must be within the race window
and your trajectory must pass through the blue polygons on the course
and your course must pass through the blue polygons on the course
map (in the right order), for your result to be valid.
</p>
<p>
@@ -199,6 +205,13 @@
corrected times, please be sure your gender and birth date are set
correctly in your user settings.
</p>
<p>
Virtual races are intended as an informal way to add a
competitive element to training. Virtual races are not
refereed or staffed to provide for participants safety.
Individual participants are entirely responsible for their
safety while participating in a virtual race.
</p>
</div>
</div>
<div class="grid_4 omega">