Skip to content
Snippets Groups Projects

Vylepšení výsledkové listiny

Merged Martin Mareš requested to merge mj/vysledky-p into devel
2 files
+ 14
14
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -52,27 +52,27 @@
{% endif %}
<h3>Účast v kolech</h3>
{% if rounds.count() %}
{% if participations %}
<table class="data full">
<thead>
<tr>
<th>Ročník<th>Kategorie<th>Kolo<th>Místo<th>Stav účasti<th>Odkazy
</tr>
</thead>
{% for round in rounds %}
{% for (pion, contest, round) in participations %}
<tr>
<td>{{ round.contest.round.year }}
<td>{{ round.contest.round.category }}
<td>{{ round.contest.round.seq }}
<td><a href="{{ url_for('org_place', id=round.contest.place_id) }}">{{ round.contest.place.name }}</a>
{% if round.place_id != round.contest.place_id %}
<br>(ale soutěží v <a href="{{ url_for('org_place', id=round.place_id) }}">{{ round.place.name }}</a>)
<td>{{ round.year }}
<td>{{ round.category }}
<td>{{ round.seq }}{{ round.part_code() }}
<td><a href="{{ url_for('org_place', id=contest.place_id) }}">{{ contest.place.name }}</a>
{% if pion.place_id != contest.place_id %}
<br>(ale soutěží v <a href="{{ url_for('org_place', id=pion.place_id) }}">{{ pion.place.name }}</a>)
{% endif %}
<td>{{ round.state.friendly_name() }}
<td><div class="btn-group">
<a class="btn btn-xs btn-primary" href="{{ url_for('org_contest_user', contest_id=round.contest.contest_id, user_id=user.user_id) }}">Odevzdané úlohy</a>
<a class="btn btn-xs btn-default" href="{{ url_for('org_contest', id=round.contest.contest_id) }}">Stránka soutěže</a>
<a class="btn btn-xs btn-default" href="{{ url_for('org_round', id=round.contest.round.round_id) }}">Stránka kola</a>
<a class="btn btn-xs btn-primary" href="{{ url_for('org_contest_user', contest_id=contest.contest_id, user_id=user.user_id) }}">Odevzdané úlohy</a>
<a class="btn btn-xs btn-default" href="{{ url_for('org_contest', id=contest.contest_id) }}">Stránka soutěže</a>
<a class="btn btn-xs btn-default" href="{{ url_for('org_round', id=round.round_id) }}">Stránka kola</a>
{% if g.user.is_admin %}
<a class="btn btn-xs btn-default" href="{{ log_url('participant', user.user_id) }}">Historie</a>
{% endif %}
Loading