{% extends "base_layout.html" %}
{% block body %}
Minute |
|
Schütze |
Stand |
Schütze |
|
{% for goal in goals %}
{{ goal.minute }} |
{% if goal.player.team.id == match.home_team.id %}
{% if goal.penalty %}
{% elif goal.own_goal %}
{% else %}
{% endif %}
|
{{ goal.player.name }} |
{% else %}
|
|
{% endif %}
{{ goal.home_score }}:{{ goal.away_score }} |
{% if goal.player.team.id == match.away_team.id %}
{{ goal.player.name }} |
{% if goal.penalty %}
{% elif goal.own_goal %}
{% else %}
{% endif %}
|
{% else %}
|
|
{% endif %}
{% endfor %}
Spieler |
Tipp |
Punkte |
{% for bet in bets %}
{{ bet.user.username }} |
{{ bet.home_score }}:{{ bet.away_score }} |
{% if match.started %}
{% set points=bet.evaluate() %}
{% if points == 0 %}
{{ points }}
{% elif points <= 3 %}
{{ points }}
{% elif points <= 7 %}
{{ points }}
{% elif points <= 10 %}
{{ points }}
{% elif points <= 12 %}
{{ points }}
{% elif points > 12 %}
{{ points }}
{% else %}
{{ points }}
{% endif %}
{% else %}
-
{% endif %}
|
{% endfor %}
{% endblock %}