Fix bug in records 10 straightjumps
This commit is contained in:
parent
6074f7b1a3
commit
9f889f27be
|
@ -50,7 +50,9 @@
|
|||
</div>
|
||||
<div class="col-6 pl-0">
|
||||
{% for record in records_list %}
|
||||
<h3 class="ml-3">{{ record.score }} - {{ record.first_name }} {{ record.last_name }} ({{ record.date| date:"j M Y" }})</h3>
|
||||
{% if record.score %}
|
||||
<h3 class="ml-3">{{ record.score }} - {{ record.first_name }} {{ record.last_name }} ({{ record.date| date:"j M Y" }})</h3>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
<div class="col-6 pl-0">
|
||||
|
|
|
@ -12,8 +12,6 @@ class Command(BaseCommand):
|
|||
|
||||
for intensity in intensity_list:
|
||||
count += 1
|
||||
# print(str(intensity.id) + " " + str(intensity))
|
||||
print(intensity.id)
|
||||
intensity.time_quality = 1
|
||||
intensity.save()
|
||||
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
<th class="header text-left" style="width: 20%">Lastname</th>
|
||||
<th class="header text-left" style="width: 20%">Firstname</th>
|
||||
<th class="header text-left" style="width: 10%">Gender</th>
|
||||
<th class="header text-left" style="width: 10%">Age</th>
|
||||
<th class="header text-center" style="width: 10%">Age</th>
|
||||
<th class="header text-left" style="width: 10%">Category</th>
|
||||
<th class="header text-left" style="width: 25%">Club</th>
|
||||
</tr>
|
||||
|
@ -53,7 +53,7 @@
|
|||
<td class="text-left">{% if season_information.gymnast.id in request.session.available_gymnast or request.user.is_superuser %}<a href="{% url 'gymnast_details' season_information.gymnast.id %}">{% endif %}{{ season_information.gymnast.last_name }}</a></td>
|
||||
<td class="text-left">{% if season_information.gymnast.id in request.session.available_gymnast or request.user.is_superuser %}<a href="{% url 'gymnast_details' season_information.gymnast.id %}">{% endif %}{{ season_information.gymnast.first_name }}</a></td>
|
||||
<td class="text-left">{{ season_information.gymnast.get_gender_display }}</td>
|
||||
<td class="text-left">{{ season_information.gymnast.age }}</td>
|
||||
<td class="text-center">{{ season_information.gymnast.age }}</td>
|
||||
<td class="text-left">{{ season_information.get_category_display }}</td>
|
||||
<td class="text-left">{{ season_information.club.name }}</td>
|
||||
</tr>
|
||||
|
|
Loading…
Reference in New Issue