{# Copyright 2017 Hermann Krumrey This file is part of bundesliga-tippspiel. bundesliga-tippspiel is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. bundesliga-tippspiel is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with bundesliga-tippspiel. If not, see . #} {% extends "components/base_layout.html" %} {% block body %}

{{ team.name }}



Tendenz

{% for opponent_id, opponent_name, _, _, _ in matches %} {% endfor %} {% for _, _, score, result, match_id in matches %} {% if result == "win" %} {% set result_class = "success" %} {% elif result == "loss" %} {% set result_class = "danger" %} {% else %} {% set result_class = "info" %} {% endif %} {% endfor %}
Gegner {{ opponent_name }}
Ergebnis {{ score }}

Torschützen

{% for player, goal_count in goals %} {% endfor %}
Name Tore
{{ player }} {{ goal_count }}
{% endblock %}