From d60c8905dc58e76a5401650ff91e0e1dd872bd48 Mon Sep 17 00:00:00 2001 From: Martin Mares <mj@ucw.cz> Date: Thu, 18 Feb 2021 23:45:23 +0100 Subject: [PATCH] =?UTF-8?q?Odkazy=20na=20d=C3=A1vkov=C3=A9=20bodov=C3=A1n?= =?UTF-8?q?=C3=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mo/web/templates/org_contest.html | 1 + mo/web/templates/org_round.html | 3 +++ 2 files changed, 4 insertions(+) diff --git a/mo/web/templates/org_contest.html b/mo/web/templates/org_contest.html index 46315999..ada65912 100644 --- a/mo/web/templates/org_contest.html +++ b/mo/web/templates/org_contest.html @@ -100,6 +100,7 @@ {% endif %} {% if not site and can_edit_points %} <a class="btn btn-xs btn-primary" href="{{ url_for('org_contest_task_points', contest_id=contest.contest_id, task_id=task.task_id) }}">Zadat body</a> + <a class="btn btn-xs btn-default" href="{{ url_for('org_contest_task_batch_points', contest_id=contest.contest_id, task_id=task.task_id) }}">Nahrát body</a> {% endif %} </div> </tr> diff --git a/mo/web/templates/org_round.html b/mo/web/templates/org_round.html index 10e32a7b..3296d22b 100644 --- a/mo/web/templates/org_round.html +++ b/mo/web/templates/org_round.html @@ -112,6 +112,9 @@ {% if can_upload %} <a class="btn btn-xs btn-primary" href="{{ url_for('org_round_task_upload', round_id=round.round_id, task_id=task.task_id) }}">Nahrát</a> {% endif %} + {% if can_upload %} + <a class="btn btn-xs btn-default" href="{{ url_for('org_round_task_batch_points', round_id=round.round_id, task_id=task.task_id) }}">Nahrát body</a> + {% endif %} {% if g.user.is_admin %} <a class="btn btn-xs btn-default" href="{{ log_url('task', task.task_id) }}">Historie</a> {% endif %} -- GitLab