Skip to content
Snippets Groups Projects
Commit 34b3c21f authored by Jan Prachař's avatar Jan Prachař
Browse files

Odkaz na soutěž a výsledkovou listinu v tabulce pro postup

parent 1ebb5793
No related branches found
No related tags found
1 merge request!74Odkaz na výsledkovou listinu v tabulce pro postup
......@@ -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 %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment