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

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

parent 62f73286
No related branches found
No related tags found
No related merge requests found
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 @@ ...@@ -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