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

Soutěž odkazuje na import bodů i opravovatelům

parent 4a4a15d3
No related branches found
No related tags found
No related merge requests found
...@@ -72,7 +72,7 @@ ...@@ -72,7 +72,7 @@
{% if can_view_submits and state != RoundState.preparing %} {% if can_view_submits and state != RoundState.preparing %}
<a class="btn btn-primary" href='{{ ctx.url_for('org_contest_solutions') }}'>Odevzdaná řešení</a> <a class="btn btn-primary" href='{{ ctx.url_for('org_contest_solutions') }}'>Odevzdaná řešení</a>
{% endif %} {% endif %}
{% if can_edit_points and state != RoundState.preparing %} {% if can_edit_points %}
<a class="btn btn-primary" href='{{ ctx.url_for('org_contest_solutions_edit') }}'>Zadat body</a> <a class="btn btn-primary" href='{{ ctx.url_for('org_contest_solutions_edit') }}'>Zadat body</a>
{% endif %} {% endif %}
{% if not site and can_manage %} {% if not site and can_manage %}
...@@ -91,7 +91,11 @@ ...@@ -91,7 +91,11 @@
{% endif %} {% endif %}
<a class="btn btn-default" href='{{ ctx.url_for('org_import_user') }}'>Importovat účastníky</a> <a class="btn btn-default" href='{{ ctx.url_for('org_import_user') }}'>Importovat účastníky</a>
<a class="btn btn-default" href='{{ ctx.url_for('org_import_org') }}'>Importovat organizátory</a> <a class="btn btn-default" href='{{ ctx.url_for('org_import_org') }}'>Importovat organizátory</a>
{% endif %}
{% if can_edit_points %}
<a class="btn btn-default" href='{{ ctx.url_for('org_generic_batch_points') }}'>Importovat body</a> <a class="btn btn-default" href='{{ ctx.url_for('org_generic_batch_points') }}'>Importovat body</a>
{% endif %}
{% if not site and can_manage %}
<a class="btn btn-default" href='{{ ctx.url_for('org_contest_edit') }}'>Nastavení</a> <a class="btn btn-default" href='{{ ctx.url_for('org_contest_edit') }}'>Nastavení</a>
{% endif %} {% endif %}
{% if not site and g.user.is_admin %} {% if not site and 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