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

Úvodní stránka pro soutěžícího: přidán stav účasti

parent 45abcdcc
No related branches found
No related tags found
1 merge request!67user_index: Přehlednější vstupní stránka pro účastníka
...@@ -10,14 +10,16 @@ ...@@ -10,14 +10,16 @@
<tr> <tr>
<th>Kategorie <th>Kategorie
<th>Kolo <th>Kolo
<th>Stav <th>Stav účasti
<th>Stav soutěže
<th>Odkazy <th>Odkazy
<tbody> <tbody>
{% for pion, contest, round in pions %} {% for pion, contest, round in pions %}
{% set state = contest.ct_state() %} {% set state = contest.ct_state() %}
<tr> <tr>
<td class="text-center" style="font-size: 1.2em"><b>{{ round.category }}</b> <td class="text-center" style="font-size: 1.2em"><b>{{ round.category }}</b>
<td>{{ round.name }} {{ contest.place.name_locativ() if contest.place.level > 0 else '' }} <td>{{ round.name }} {{ contest.place.name_locative() if contest.place.level > 0 else '' }}
<td>{{ pion.state.friendly_name() }}
<td>{{ contest.ct_long_state() }} <td>{{ contest.ct_long_state() }}
<td> <td>
{% if contest.ct_task_statement_available() %} {% if contest.ct_task_statement_available() %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment