adding ranking
This commit is contained in:
@@ -267,7 +267,7 @@
|
||||
<h2>Results</h2>
|
||||
{% endif %}
|
||||
</p>
|
||||
{% if results or dns %}
|
||||
{% if results or dns or dnf %}
|
||||
<p>
|
||||
<table class="listtable shortpadded" width="100%">
|
||||
<thead>
|
||||
@@ -349,6 +349,32 @@
|
||||
</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
{% for result in dnf %}
|
||||
<tr>
|
||||
<td> </td>
|
||||
<td>{{ result.username }}</td>
|
||||
<td>{{ result.teamname }}</td>
|
||||
<td>{{ result.age }}</td>
|
||||
<td>{{ result.sex }}</td>
|
||||
<td>{{ result.weightcategory }}</td>
|
||||
<td>
|
||||
{% if result.adaptiveclass == 'None' %}
|
||||
|
||||
{% else %}
|
||||
{{ result.adaptiveclass }}
|
||||
{% endif %}
|
||||
</td>
|
||||
<td>{{ result.boatclass }}</td>
|
||||
{% if race.sessiontype == 'race' %}
|
||||
<td>{{ result.boattype }}</td>
|
||||
{% endif %}
|
||||
<td>DNF</td>
|
||||
<td>
|
||||
<a href="/rowers/workout/{{ result.workoutid|encode }}/view/entry/{{ result.id }}/">
|
||||
Details</a>
|
||||
</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
{% for result in dns %}
|
||||
<tr>
|
||||
<td> </td>
|
||||
|
||||
Reference in New Issue
Block a user