Skip to content
Snippets Groups Projects

Odkaz na výsledkovou listinu v tabulce pro postup

Merged Jan Prachař requested to merge honza/mrg into devel
1 file
+ 4
2
Compare changes
  • Side-by-side
  • Inline
@@ -21,19 +21,21 @@
<table class='data'>
<thead>
<tr><th>Oblast<th>Postoupilo<th>Nepostoupilo
<tr><th>Oblast<th>Postoupilo<th>Nepostoupilo<th>
<tbody>
{% for c in prev_contests %}
<tr>
<td>{{ c.place.name }}
<td><a href='{{ url_for('org_contest', id=c.contest_id) }}'>{{ c.place.name }}</a>
<td>{{ accept_by_place_id[c.place.place_id] }}
<td>{{ reject_by_place_id[c.place.place_id] }}
<td><a class='btn btn-warning btn-xs' href='{{ url_for('org_score', contest_id=c.contest_id) }}'>Výsledková listina</a>
{% endfor %}
<tfoot>
<tr>
<th>Celkem
<th>{{ accept_by_place_id.values()|sum }}
<th>{{ reject_by_place_id.values()|sum }}
<th>
</tfoot>
</table>
{% endif %}
Loading