diff --git a/mo/web/templates/org_index.html b/mo/web/templates/org_index.html index c60e6c25c567e878a5b9aaca2b5655c9337f5540..f6e3b3d705bffdac9287c34d4741a3039759b87b 100644 --- a/mo/web/templates/org_index.html +++ b/mo/web/templates/org_index.html @@ -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>