Fix of iss11
This commit is contained in:
@@ -12,7 +12,6 @@
|
||||
{% block body %}
|
||||
<div id="content-main">
|
||||
<div class="row">
|
||||
</div>
|
||||
<div class="col-md-7">
|
||||
<h2>Neueste Nachrichten</h2>
|
||||
<p class="text-right">
|
||||
@@ -52,7 +51,7 @@
|
||||
<th>Anstoß</th>
|
||||
<th>Heim</th>
|
||||
<th>Gast</th>
|
||||
<th>Erg.></th>
|
||||
<th>Erg.</th>
|
||||
<th colspan="2">Tipp</th>
|
||||
</tr>
|
||||
{% for match in matches %}
|
||||
@@ -88,43 +87,43 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-7">
|
||||
<h2>Mitspieler</h2>
|
||||
<div class="table-responsive">
|
||||
<table class="table table-hover table-condensed">
|
||||
<tr>
|
||||
<th>Tipper</th>
|
||||
<th>Gesamt</th>
|
||||
{% for match in matches %}
|
||||
<th>
|
||||
{% if match.iconURLTeam1 != "" %}
|
||||
<img src="{{ match.iconURLTeam1 }}" width="20"/>
|
||||
{% else %}
|
||||
<img src="{{ STATIC_URL }}{{ match.iconTeam1 }}" />
|
||||
{% endif %}
|
||||
<br /><br />
|
||||
{% if match.iconURLTeam2 != "" %}
|
||||
<img src="{{ match.iconURLTeam2 }}" width="20"/>
|
||||
{% else %}
|
||||
<img src="{{ STATIC_URL }}{{ match.iconTeam2 }}" />
|
||||
{% endif %}
|
||||
</th>
|
||||
{% endfor %}
|
||||
</tr>
|
||||
{% for mandant, list in mandant_dict.items %}
|
||||
{% for mate in list %}
|
||||
{% for mandant, list in mandant_dict.items %}
|
||||
<div class="col-md-7">
|
||||
<h4>Mitspieler {{ mandant }}</h4>
|
||||
<div class="table-responsive">
|
||||
<table class="table table-hover table-condensed">
|
||||
<tr>
|
||||
<th>Tipper</th>
|
||||
<th>Gesamt</th>
|
||||
{% for match in matches %}
|
||||
<th>
|
||||
{% if match.iconURLTeam1 != "" %}
|
||||
<img src="{{ match.iconURLTeam1 }}" width="20"/>
|
||||
{% else %}
|
||||
<img src="{{ STATIC_URL }}{{ match.iconTeam1 }}" />
|
||||
{% endif %}
|
||||
<br /><br />
|
||||
{% if match.iconURLTeam2 != "" %}
|
||||
<img src="{{ match.iconURLTeam2 }}" width="20"/>
|
||||
{% else %}
|
||||
<img src="{{ STATIC_URL }}{{ match.iconTeam2 }}" />
|
||||
{% endif %}
|
||||
</th>
|
||||
{% endfor %}
|
||||
</tr>
|
||||
{% for mate in list %}
|
||||
<tr>
|
||||
<td>{{ mate.mate.first_name }}</td>
|
||||
<td>{{ mate.sum_score }}</td>
|
||||
{% for tipp in mate.tipps %}
|
||||
<td>{{ tipp }}</td>
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
{% endfor %}
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user