switcher speed improvement virtualevents
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Date</th>
|
||||
<th>Registration Deadline</th>
|
||||
<th>Event</th>
|
||||
<th>Country</th>
|
||||
<th>Course</th>
|
||||
@@ -14,9 +15,16 @@
|
||||
{% for race in races %}
|
||||
<tr>
|
||||
<td>{{ race.startdate }}</td>
|
||||
<td>
|
||||
{% if race.registration_closure %}
|
||||
{{ race.registration_closure }}
|
||||
{% else %}
|
||||
{{ race.startdate }} {{ race.start_time }}
|
||||
{% endif %}
|
||||
</td>
|
||||
<td><a href="/rowers/virtualevent/{{ race.id }}">{{ race.name }}</a></td>
|
||||
<td>{{ race.course.country }}</td>
|
||||
<td>{{ race.course.name }}</td>
|
||||
<td><a href="/rowers/courses/{{ race.course.id }}">{{ race.course.name }}</a></td>
|
||||
<td>
|
||||
{% if rower %}
|
||||
{% if race|can_register:rower %}
|
||||
@@ -25,6 +33,8 @@
|
||||
<a class="orange dot" href="/rowers/virtualevent/{{ race.id }}"> </a>
|
||||
{% elif race|race_complete:rower %}
|
||||
<a class="green dot" href="/rowers/virtualevent/{{ race.id }}"> </a>
|
||||
{% elif race|past_not_registered:rower %}
|
||||
<a class="white dot" href="/rowers/virtualevent/{{ race.id }}"> </a>
|
||||
{% else %}
|
||||
<a class="red dot" href="/rowers/virtualevent/{{ race.id }}"> </a>
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user