adding DNS list
This commit is contained in:
@@ -117,6 +117,19 @@
|
|||||||
<td>{{ result.duration |durationprint:"%H:%M:%S.%f" }}</td>
|
<td>{{ result.duration |durationprint:"%H:%M:%S.%f" }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
{% for result in dns %}
|
||||||
|
<tr>
|
||||||
|
<td> </td>
|
||||||
|
<td>
|
||||||
|
<a href="/rowers/workout/{{ result.workout.id }}">
|
||||||
|
{{ result.username }}</a></td>
|
||||||
|
<td>{{ result.age }}</td>
|
||||||
|
<td>{{ result.sex }}</td>
|
||||||
|
<td>{{ result.weightcategory }}</td>
|
||||||
|
<td>{{ result.boattype }}</td>
|
||||||
|
<td>DNS</td>
|
||||||
|
</tr>
|
||||||
|
{% endfor %}
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
{% else %}
|
{% else %}
|
||||||
|
|||||||
@@ -13409,6 +13409,9 @@ def virtualevent_view(request,id=0):
|
|||||||
race=race
|
race=race
|
||||||
).order_by("duration")
|
).order_by("duration")
|
||||||
|
|
||||||
|
# to-do - add DNS
|
||||||
|
dns = []
|
||||||
|
|
||||||
return render(request,'virtualevent.html',
|
return render(request,'virtualevent.html',
|
||||||
{
|
{
|
||||||
'coursescript':script,
|
'coursescript':script,
|
||||||
@@ -13417,6 +13420,7 @@ def virtualevent_view(request,id=0):
|
|||||||
'rower':r,
|
'rower':r,
|
||||||
'results':results,
|
'results':results,
|
||||||
'buttons':buttons,
|
'buttons':buttons,
|
||||||
|
'dns':dns,
|
||||||
})
|
})
|
||||||
|
|
||||||
@login_required()
|
@login_required()
|
||||||
|
|||||||
Reference in New Issue
Block a user