Private
Public Access
1
0

improved race filtering

This commit is contained in:
Sander Roosendaal
2018-12-17 09:46:23 +01:00
parent cf661f4ae5
commit 4d89711b58
5 changed files with 9 additions and 24 deletions

View File

@@ -245,8 +245,8 @@
<th>&nbsp;</th>
<th>&nbsp;</th>
<th>&nbsp;</th>
{% if race.sessiontype == 'race' %}
<th>Class</th>
{% if race.sessiontype == 'race' %}
<th>Boat</th>
{% endif %}
<th>Time</th>
@@ -273,8 +273,8 @@
{{ result.adaptiveclass }}
{% endif %}
</td>
{% if race.sessiontype == 'race' %}
<td>{{ result.boatclass }}</td>
{% if race.sessiontype == 'race' %}
<td>{{ result.boattype }}</td>
{% endif %}
<td>{{ result.duration |durationprint:"%H:%M:%S.%f" }}</td>
@@ -308,8 +308,8 @@
{{ result.adaptiveclass }}
{% endif %}
</td>
{% if race.sessiontype == 'race' %}
<td>{{ result.boatclass }}</td>
{% if race.sessiontype == 'race' %}
<td>{{ result.boattype }}</td>
{% endif %}
<td>DNS</td>
@@ -366,11 +366,9 @@
<tr>
<td>{{ record.username }}
<td>{{ record.teamname }}</td>
<td>{{ record.boatclass }}</td>
{% if race.sessiontype == 'race' %}
<td>{{ record.boatclass }}</td>
<td>{{ record.boattype }}</td>
{% else %}
<td>{{ record.boatclass }}</td>
{% endif %}
<td>{{ record.age }}</td>
<td>{{ record.sex }}</td>