khana/templates/gymnast_rounds.html

36 lines
935 B
HTML

{% if rounds %}
<select>
{% for date in trainings %}
{{date}}
<option value="{{ date.trainingdate }}">{{ date.trainingdate | date:"d-m-Y" }}</option>
{% endfor %}
</select>
{{ round.training.trainingdate }}
<table class="table" id="table_round">
<thead>
<tr>
<th>#</th>
<th>Educative</th>
<th>Info.</th>
<th>Times</th>
<th>Success</th>
<th>Quality</th>
</tr>
</thead>
<tbody>
{% for round in rounds %}
<tr>
<td>{{ round.round_number}}</td>
<td>{{ round.educative.shortLabel }}</td>
<td>{{ round.to_markdown | safe }}</td>
<td>{{ round.nb_of_realisation }}</td>
<td>{{ round.nb_of_success }}</td>
<td>{{ round.quality }}</td>
</tr>
{% endfor %}
</tbody>
</table>
{% else %}
No next round to display.
{% endif %}