46 lines
795 B
HTML
46 lines
795 B
HTML
<h1>
|
|
{{ race.name }}
|
|
</h1>
|
|
<p>
|
|
{{ race.date }}
|
|
</p>
|
|
<p>
|
|
<table>
|
|
<tr>
|
|
<th>Order</th>
|
|
<th>Crew</th><td></td>
|
|
</tr>
|
|
{% for result in results %}
|
|
<tr>
|
|
<td>{{ result.order }}</td>
|
|
<td>{{ result.crew.name }}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</table>
|
|
</p>
|
|
{% if user.is_authenticated and user.is_staff %}
|
|
{% if race.verified %}
|
|
<p>
|
|
Race has been verified
|
|
</p>
|
|
{% if race.processed %}
|
|
<p>
|
|
Race has been processed
|
|
</p>
|
|
{% else %}
|
|
<p>
|
|
Race is not processed. <a href="process/">Process Race</a>
|
|
</p>
|
|
{% endif %}
|
|
{% else %}
|
|
<p>
|
|
Race is not verified. <a href="verify/">Verify Race</a>
|
|
</p>
|
|
{% endif %}
|
|
{% if not race.verified and not race.processed %}
|
|
<p>
|
|
<a href="/boatmovers/result/add/">Add Result</a>
|
|
</p>
|
|
{% endif %}
|
|
{% endif %}
|