improved race filtering
This commit is contained in:
@@ -245,8 +245,8 @@
|
||||
<th> </th>
|
||||
<th> </th>
|
||||
<th> </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>
|
||||
|
||||
Reference in New Issue
Block a user