From 8abec90e261ec8670cd668411ecf85c2591d9cea Mon Sep 17 00:00:00 2001
From: Martin Mares <mj@ucw.cz>
Date: Tue, 7 Dec 2021 18:49:24 +0100
Subject: [PATCH] =?UTF-8?q?Postup:=20Tla=C4=8D=C3=ADtko=20se=20zobrazuje?=
 =?UTF-8?q?=20ve=20v=C5=A1ech=20stavech=20krom=C4=9B=20closed?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 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 3e472539..1f33dbe4 100644
--- a/mo/web/templates/org_contest.html
+++ b/mo/web/templates/org_contest.html
@@ -64,7 +64,7 @@
 	{% if can_upload %}
 	<a class="btn btn-default" href='{{ ctx.url_for('org_contest_scans') }}'>Zpracování skenů</a>
 	{% endif %}
-	{% if state == RoundState.preparing and round.seq > 1 %}
+	{% if state != RoundState.closed and round.seq > 1 %}
 	<a class="btn btn-primary" href='{{ ctx.url_for('org_contest_advance') }}'>Postup z minulého kola</a>
 	{% endif %}
 	{% if can_manage %}
-- 
GitLab