Skip to content
Snippets Groups Projects
Commit 111c8c5a authored by Jiří Setnička's avatar Jiří Setnička
Browse files

Zobrazení všech kol - sloučení řádků kol a podkol

parent 48d01c73
No related branches found
No related tags found
1 merge request!38Draft: Dělená kola
This commit is part of merge request !38. Comments created here will be created in the context of that merge request.
......@@ -14,12 +14,15 @@
</thead>
{% for r in rounds %}
<tr>
<td><a href='{{ url_for('org_round', id=r.round_id) }}'>{{ r.round_code() }}</a>
<td>{{ r.year }}
<td>{{ r.category }}
<td>{{ r.seq }}
<td>{{ level_names[r.level] }}
<td>{{ r.name }}
{% if not r.is_subround() %}
{% set rowspan = " rowspan=%d" % (subround_counts[r.round_id] + 1) if subround_counts[r.round_id] else "" %}
<td{{ rowspan }}><a href='{{ url_for('org_round', id=r.round_id) }}'>{{ r.round_code() }}</a>
<td{{ rowspan }}>{{ r.year }}
<td{{ rowspan }}>{{ r.category }}
<td{{ rowspan }}>{{ r.seq }}
<td{{ rowspan }}>{{ level_names[r.level] }}
{% endif %}
<td><a href='{{ url_for('org_round', id=r.round_id) }}'>{{ r.name }}</a>
<td class='rstate-{{r.state.name}}'>{{ r.state.friendly_name() }}
{% endfor %}
</table>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment