{# 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 "core/base_layout.html" %} {% block body %}
{{ match.current_score }}
{{ match.minute_display }}

Tore

{% for goal in goals %} {% endfor %}
Minute Stand Team Schütze
{% if goal.penalty %} {% set football_class="penalty" %} {% elif goal.own_goal %} {% set football_class="owngoal" %} {% else %} {% set football_class="normal" %} {% endif %} {{ goal.minute }} {{ goal.home_score }}:{{ goal.away_score }} {{ goal.player.name }}

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 %}