Private
Public Access
1
0

rewind to world before StandardTimes

This commit is contained in:
Sander Roosendaal
2020-05-31 12:59:02 +02:00
parent e11407b76d
commit 886ea7576c
11 changed files with 281 additions and 255 deletions

View File

@@ -133,11 +133,13 @@
</ul>
</li>
{% endif %}
{% comment %}
<li id="standards">
<a href="/rowers/list-standards/">
<i class="fas fa-award fa-fw"></i>&nbsp;Course Time Standards
</a>
</li>
{% endcomment %}
</ul> <!-- cd-accordion-menu -->
{% include 'menuscript.html' %}

View File

@@ -104,11 +104,13 @@
<th>Challenge Time Zone</th><td>{{ race.timezone }}</td>
</tr>
{% endif %}
{% comment %}
{% if race.coursestandards %}
<tr>
<th>Standard Times</th><td><a href="/rowers/standards/{{ race.coursestandards.id }}/">{{ race.coursestandards }}</a></td>
</tr>
{% endif %}
{% endcomment %}
<tr>
<th>
{{ race.sessionmode }} challenge
@@ -268,16 +270,20 @@
<th>&nbsp;</th>
<th>Name</th>
<th>Team Name</th>
{% comment %}
{% if race.coursestandards %}
<th>Group</th>
{% else %}
{% endcomment %}
<th>&nbsp;</th>
<th>&nbsp;</th>
<th>&nbsp;</th>
<th>Class</th>
{% if race.sessiontype == 'race' %}
<th>Boat</th>
{% comment %}
{% endif %}
{% endcomment %}
{% endif %}
<th>Time<a href="?order_by=duration">&#9660;</th>
<th>Distance<a href="?order_by=-distance">&#9660;</th>
@@ -296,9 +302,11 @@
<a href="/rowers/workout/{{ result.workoutid|encode }}/view/entry/{{ result.id }}/">
{{ result.username }}</a></td>
<td>{{ result.teamname }}</td>
{% comment %}
{% if race.coursestandards %}
<td>{{ result.entrycategory }}</td>
{% else %}
{% endcomment %}
<td>{{ result.age }}</td>
<td>{{ result.sex }}</td>
<td>{{ result.weightcategory }}</td>
@@ -313,12 +321,16 @@
{% if race.sessiontype == 'race' %}
<td>{{ result.boattype }}</td>
{% endif %}
{% comment %}
{% endif %}
{% endcomment %}
<td>{{ result.duration |durationprint:"%H:%M:%S.%f" }}</td>
<td>{{ result.distance }} m</td>
{% comment %}
{% if race.coursestandards %}
<td>{{ result.points }}</td>
{% endif %}
{% endcomment %}
<td>
<a href="/rowers/workout/{{ result.workoutid|encode }}/view/entry/{{ result.id }}/">
Details</a>
@@ -409,10 +421,12 @@
<tr>
<th>Name</th>
<th>Team Name</th>
{% comment %}
{% if race.coursestandards %}
<th>Group</th>
<th>Age</th>
{% else %}
{% endcomment %}
{% if race.sessiontype == 'race' %}
<th>Boat</th>
{% endif %}
@@ -421,7 +435,9 @@
<th>Gender</th>
<th>Weight Category</th>
<th>Adaptive</th>
{% comment %}
{% endif %}
{% endcomment %}
</tr>
<tbody>
{% for record in records %}
@@ -569,6 +585,7 @@
review and reject entries. If you are disqualified in this
way, you will receive an email with the reason.
</p>
{% comment %}
{% if race.coursestandards %}
<p>
Standard Times are a way to compare results in a race category with
@@ -580,6 +597,7 @@
be limited to those in the selected set of Standard Times.
</p>
{% endif %}
{% endcomment %}
</div>
</li>
</ul>

View File

@@ -35,6 +35,7 @@
as a Male crew. Check the "Mixed gender" check box to register as a
mixed gender crew (except for 1x where this check box does nothing).
</p>
{% comment %}
{% if race.coursestandards %}
<p>This race uses standard times and limits the race groups to those where
standard times exist. The "Group" form choice will overrule other selections you
@@ -45,6 +46,7 @@
You can check the valid race groups and standard times <a target="_" href="/rowers/standards/{{ race.coursestandards.id }}/">here</a>.
</p>
{% endif %}
{% endcomment %}
<div class="grid_6 alpha">
<table width="100%">
{{ form.as_table }}