From a41c9ff8d555f81b1ea4697ae431bb11bbe4a512 Mon Sep 17 00:00:00 2001
From: Martin Mares <mj@ucw.cz>
Date: Mon, 28 Aug 2023 16:45:53 +0200
Subject: [PATCH] =?UTF-8?q?Oprava=20zobrazov=C3=A1n=C3=AD=20tla=C4=8D?=
 =?UTF-8?q?=C3=ADtka=20Nahr=C3=A1t=20ZIP?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Používá se nejen na nahrávání řešení, ale i oprav.
---
 mo/web/templates/org_contest.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mo/web/templates/org_contest.html b/mo/web/templates/org_contest.html
index d71c67cf..c0b3dbe8 100644
--- a/mo/web/templates/org_contest.html
+++ b/mo/web/templates/org_contest.html
@@ -173,7 +173,7 @@
 			{% if can_view_submits %}
 			<a class="btn btn-xs btn-primary" href="{{ ctx.url_for('org_generic_batch_download', task_id=task.task_id) }}">Stáhnout ZIP</a>
 			{% endif %}
-			{% if can_upload_solutions %}
+			{% if can_upload_anything %}
 				<a class='btn btn-xs btn-default' href="{{ ctx.url_for('org_generic_batch_upload', task_id=task.task_id) }}">Nahrát ZIP</a>
 			{% endif %}
 			{% if can_edit_points %}
-- 
GitLab