Skip to content
Snippets Groups Projects
Commit 1cb70fb6 authored by Martin Mareš's avatar Martin Mareš
Browse files

Odkaz na protokoly ze stránky soutěže

parent 9c3775ed
No related branches found
No related tags found
No related merge requests found
......@@ -49,17 +49,18 @@
{% if state != RoundState.preparing %}
<a class="btn btn-primary" href='{{ url_for('org_contest_solutions', id=contest.contest_id, site_id=site_id) }}'>Odevzdaná řešení</a>
{% endif %}
{% if not site %}
{% if state in [RoundState.grading, RoundState.closed] %}
{% if not site and state in [RoundState.grading, RoundState.closed] %}
<a class="btn btn-primary" href='{{ url_for('org_score', contest_id=contest.contest_id) }}'>Výsledky</a>
{% endif %}
<a class="btn btn-default" href='{{ url_for('org_contest_protocols', id=contest.contest_id, site_id=site_id) }}'>Protokoly</a>
{% if not site %}
{% if state == RoundState.preparing and round.seq > 1 %}
<a class="btn btn-primary" href='{{ url_for('org_contest_advance', contest_id=contest.contest_id) }}'>Postup z minulého kola</a>
{% endif %}
{% if can_manage %}
<a class="btn btn-default" href='{{ url_for('org_contest_import', id=contest.contest_id) }}'>Importovat data</a>
{% endif %}
{% if can_manage and not site %}
{% if can_manage %}
<a class="btn btn-default" href='{{ url_for('org_contest_edit', id=contest.contest_id) }}'>Nastavení</a>
{% endif %}
{% if g.user.is_admin %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment