From 572e535547c015a5518ade4e017751e4113cd425 Mon Sep 17 00:00:00 2001 From: Martin Mares <mj@ucw.cz> Date: Wed, 5 Jan 2022 21:40:29 +0100 Subject: [PATCH] =?UTF-8?q?Nechceme=20zobrazovat=20pr=C3=A1zdnou=20btn-gro?= =?UTF-8?q?up?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mo/web/templates/org_contest.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/mo/web/templates/org_contest.html b/mo/web/templates/org_contest.html index 08f7e3f5..89f52cec 100644 --- a/mo/web/templates/org_contest.html +++ b/mo/web/templates/org_contest.html @@ -115,11 +115,12 @@ <p><i>Žádní účastníci a žádná soutěžní místa.</i></p> {% endif %} {% endif %} + +{% if can_manage and not site %} <div class="btn-group"> - {% if can_manage and not site %} <a class="btn btn-default" href='{{ ctx.url_for('org_contest_add_user') }}'>Přidat účastníka</a> - {% endif %} </div> +{% endif %} <h3>Úlohy</h3> {% if tasks %} -- GitLab