From 34b3c21f9239f728254696041471e4d313fefa4d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Pracha=C5=99?= <jan.prachar@gmail.com>
Date: Thu, 8 Apr 2021 00:31:29 +0200
Subject: [PATCH] =?UTF-8?q?Odkaz=20na=20sout=C4=9B=C5=BE=20a=20v=C3=BDsled?=
 =?UTF-8?q?kovou=20listinu=20v=20tabulce=20pro=20postup?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 mo/web/templates/org_contest_advance.html | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/mo/web/templates/org_contest_advance.html b/mo/web/templates/org_contest_advance.html
index f7a86b84..3bea35e5 100644
--- a/mo/web/templates/org_contest_advance.html
+++ b/mo/web/templates/org_contest_advance.html
@@ -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 %}
-- 
GitLab