Skip to content
Snippets Groups Projects

Formulářová políčka; Přidání účastníka do soutěže; Editace registrace do ročníku

Merged Jiří Kalvoda requested to merge jk/add-contestant into devel
+ 4
4
@@ -50,7 +50,7 @@
<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 can_manage and site %}
<a class="btn btn-default" href="{{ url_for('org_contest_add_user', id=contest.contest_id, site_id=site_id) }}">+ Přidat účastníka</a>
<a class="btn btn-default" href="{{ url_for('org_contest_add_user', id=contest.contest_id, site_id=site_id) }}">Přidat účastníka</a>
{% endif %}
{% if not site %}
{% if state in [RoundState.grading, RoundState.closed] %}
@@ -85,7 +85,7 @@
<td><div class="btn-group">
<a class="btn btn-xs btn-primary" href="{{ url_for('org_contest', id=contest.contest_id, site_id=place.place_id) }}">Detail</a>
{% if can_manage %}
<a class="btn btn-xs btn-default" href="{{ url_for('org_contest_add_user', id=contest.contest_id, site_id=place.place_id) }}">+ Přidat účastníka</a>
<a class="btn btn-xs btn-default" href="{{ url_for('org_contest_add_user', id=contest.contest_id, site_id=place.place_id) }}">Přidat účastníka</a>
</div>
{% endif %}
</tr>
@@ -104,7 +104,7 @@
{% endif %}
<div class="btn-group">
{% if can_manage and not site %}
<a class="btn btn-default" href='{{ url_for('org_contest_add_user', id=contest.contest_id) }}'>+ Přidat účastníka</a>
<a class="btn btn-default" href='{{ url_for('org_contest_add_user', id=contest.contest_id) }}'>Přidat účastníka</a>
{% endif %}
</div>
@@ -149,7 +149,7 @@
{% endfor %}
</table>
{% else %}
<p>Zatím nebyly přidány žádné úlohy.</p>
<p><i>Zatím nebyly přidány žádné úlohy.</i></p>
{% endif %}
<!--
Loading