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
Branches
No related tags found
1 merge request!38Draft: Dělená kola
...@@ -14,12 +14,15 @@ ...@@ -14,12 +14,15 @@
</thead> </thead>
{% for r in rounds %} {% for r in rounds %}
<tr> <tr>
<td><a href='{{ url_for('org_round', id=r.round_id) }}'>{{ r.round_code() }}</a> {% if not r.is_subround() %}
<td>{{ r.year }} {% set rowspan = " rowspan=%d" % (subround_counts[r.round_id] + 1) if subround_counts[r.round_id] else "" %}
<td>{{ r.category }} <td{{ rowspan }}><a href='{{ url_for('org_round', id=r.round_id) }}'>{{ r.round_code() }}</a>
<td>{{ r.seq }} <td{{ rowspan }}>{{ r.year }}
<td>{{ level_names[r.level] }} <td{{ rowspan }}>{{ r.category }}
<td>{{ r.name }} <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() }} <td class='rstate-{{r.state.name}}'>{{ r.state.friendly_name() }}
{% endfor %} {% endfor %}
</table> </table>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment