Skip to content
Snippets Groups Projects
Commit 335570a4 authored by Jan Prachař's avatar Jan Prachař
Browse files

org_index: Nezobrazovat tlačítko na přidání účastníka, když už se opravuje

parent 7c3078cd
No related branches found
No related tags found
No related merge requests found
......@@ -124,8 +124,8 @@
{% if o.rights.can_view_submits() and o.contest.state != RoundState.preparing and o.contest.state != RoundState.closed %}
<a class="btn btn-xs btn-success" href='{{ url_for('org_contest_solutions', ct_id=o.contest.contest_id) }}'>Tabulka řešení</a>
{% endif %}
{% if o.rights.have_right(Right.manage_contest) and o.contest.state != RoundState.closed %}
<a class="btn btn-xs btn-default" href="{{ url_for('org_contest_add_user', ct_id=o.contest.contest_id) }}">+ Přidat účastníka</a>
{% if o.rights.have_right(Right.manage_contest) and o.contest.state != RoundState.closed and o.contest.state != RoundState.grading %}
<a class="btn btn-xs btn-default hidden-xs" href="{{ url_for('org_contest_add_user', ct_id=o.contest.contest_id) }}">+ Přidat účastníka</a>
{% endif %}
{% if o.rights.have_right(Right.manage_contest) and o.contest.state == RoundState.preparing %}
<a class="btn btn-xs btn-default" href='{{ url_for('org_generic_import', ct_id=o.contest.contest_id) }}'>Import</a>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment