Outsource the table shaping for use with flask
This commit is contained in:
@@ -13,7 +13,11 @@
|
||||
{% for group in data.groups %}
|
||||
{% block groupBlk scoped %}
|
||||
<div class="section">
|
||||
{% if group is none %}
|
||||
<h1>Auswertung ohne eindeutige Gruppe</h1>
|
||||
{% else %}
|
||||
<h1>Auswertung Gruppe {{ group.name }}</h1>
|
||||
{% endif %}
|
||||
<table class="tab-summary">
|
||||
<tr>
|
||||
<th>Teilnehmer</th>
|
||||
@@ -39,9 +43,10 @@
|
||||
{% if not participant.finalist %}
|
||||
Kein/e Finalist/in
|
||||
{% endif %}
|
||||
{{ res.getNativePlace() }} ({{ res.nativeClass }}) <br />
|
||||
{{ res.getNativePlace() }}
|
||||
({{ res.nativeClass }}) <br />
|
||||
<span class="competition-place">
|
||||
{{ res.getPlace() }} in {{ res.competitionClass }}
|
||||
{{ res.place }} in {{ res.competitionClass }}
|
||||
</span>
|
||||
{% endif %}
|
||||
</td>
|
||||
|
||||
Reference in New Issue
Block a user