No output in mate list

This commit is contained in:
2016-10-06 10:45:18 +02:00
parent ffed1ef6e8
commit 26833e389a
2 changed files with 15 additions and 13 deletions

View File

@@ -12,6 +12,7 @@
{% block body %}
<div id="content-main">
<div class="row">
</div>
<div class="col-md-7">
<h2>Neueste Nachrichten</h2>
<p class="text-right">
@@ -110,18 +111,17 @@
</th>
{% endfor %}
</tr>
{% for mandant in mandant_dict %}
{% for mate in mandant_dict.mandant %}
<tr>
<td>{{ mate.mate.first_name }}</td>
<td>{{ mate.sum_score }}</td>
{% for tipp in mate.tipps %}
<td>{{ tipp }}</td>
{% endfor %}
{% endfor %}
</tr>
{% endfor %}
{% for mandant, list in mandant_dict.items %}
{% 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>
</div>
</div>