From 211ab1553fa4e76bea3e7657b0573afcd4cc03ae Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Pracha=C5=99?= <jan.prachar@gmail.com>
Date: Wed, 4 May 2022 14:30:26 +0200
Subject: [PATCH] =?UTF-8?q?org=5Fcontest:=20Tla=C4=8D=C3=ADtko=20P=C5=99id?=
 =?UTF-8?q?at=20=C3=BA=C4=8Dastn=C3=ADka=20i=20na=20str=C3=A1nce=20sout?=
 =?UTF-8?q?=C4=9B=C5=BEn=C3=ADho=20m=C3=ADsta?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

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

diff --git a/mo/web/templates/org_contest.html b/mo/web/templates/org_contest.html
index 6bf9c8cc..064ab5b3 100644
--- a/mo/web/templates/org_contest.html
+++ b/mo/web/templates/org_contest.html
@@ -131,13 +131,15 @@
         {% if can_view_contestants %}
         <a class="btn btn-primary" href='{{ ctx.url_for('org_generic_list') }}'><span class="glyphicon glyphicon-check"></span> Seznam</a>
         {% endif %}
-        {% if not site and can_manage %}
+        {% if can_manage %}
         <a class="btn btn-default" href="{{ ctx.url_for('org_contest_add_user') }}"><span class="glyphicon glyphicon-plus-sign"></span> Přidat</a>
-        {% if state != RoundState.closed and round.seq > 1 %}
+        {% if not site and state != RoundState.closed and round.seq > 1 %}
         <a class="btn btn-default" href='{{ ctx.url_for('org_contest_advance') }}'><span class="glyphicon glyphicon-circle-arrow-up"></span> Postup z minulého kola</a>
         {% endif %}
+        {% if not site %}
         <a class="btn btn-default" href='{{ ctx.url_for('org_generic_import') }}'><span class="glyphicon glyphicon-import"></span> Importovat CSV</a>
         {% endif %}
+        {% endif %}
     </div>
 </div>
 </div>
-- 
GitLab