{# 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 %}
{{ match.current_score }}
{{ match.minute_display }}

Tore

{% for goal in goals %} {% if goal.player.team.id == match.home_team.id %} {% else %} {% endif %} {% if goal.player.team.id == match.away_team.id %} {% else %} {% endif %} {% endfor %}
Minute Schütze Stand Schütze
{{ goal.minute }} {% if goal.penalty %} {% elif goal.own_goal %} {% else %} {% endif %} {{ goal.player.name }} {{ goal.home_score }}:{{ goal.away_score }}{{ goal.player.name }} {% if goal.penalty %} {% elif goal.own_goal %} {% else %} {% endif %}

Tipps

{% for bet in bets %} {% if match.started or bet.user_id == current_user.id %} {% else %} {% endif %} {% endfor %}
Spieler Tipp Punkte
{{ bet.user.username }}{{ bet.home_score }}:{{ bet.away_score }}?:? {% if match.started %} {% set points=bet.evaluate() %} {{ points }} {% else %} - {% endif %}
{% endblock %}