{% load thumbnail %} {% load arkestra_date_tags typogrify_tags humanize thumbnail placeholder_tags %}
{{gamematch.name}}
{% with team=gamematch.team_a %} {% if team.image %}
{{ team.image.alt }}
{% else %}
{% endif %} {% if team.name %}
{{team.name}}
{% endif %} {% endwith %}

{{gamematch.score_a|default_if_none:"?"}}  :  {{gamematch.score_b|default_if_none:"?"}}

{% with team=gamematch.team_b %} {% if team.image %}
{{ team.image.alt }}
{% else %}
{% endif %} {% if team.name %}
{{team.name}}
{% endif %} {% endwith %}
{% if gamematch.start_datetime %} {% endif %} {% if gamematch.stop_datetime %} {% endif %} {% if gamematch.rink %} {% endif %}
Начало:  {{gamematch.start_datetime}}
Конец:  {{gamematch.stop_datetime}}
Каток:  {{gamematch.rink}}
{% if gamematch.judges.all %}

Судейский состав

    {% for judge in gamematch.judges.all %}
  • {% endfor %}
{% endif %}
{% with team=gamematch.team_a %} {% include "grizzly/includes/game-match-detail-goals.html" %} {% endwith %}
{% with team=gamematch.team_b %} {% include "grizzly/includes/game-match-detail-goals.html" %} {% endwith %}
{% with team=gamematch.team_a %} {% include "grizzly/includes/game-match-detail-fines.html" %} {% endwith %}
{% with team=gamematch.team_b %} {% include "grizzly/includes/game-match-detail-fines.html" %} {% endwith %}
{% if gamematch.gamematchgtime_set.count > 0 %}
Время игры вратарей
{% for gtime in gamematch.gamematchgtime_set.all %} {% endfor %}
Время Игрок Команда
{{gtime.minute|stringformat:"02d"}}:{{gtime.second|stringformat:"02d"}} {% with player=gtime.player %} {% for player2team in player.player2team_set.all %} {% if player2team.team == gtime.team %} {{player2team.game_number}}  {{player.second_name}}  {{player.first_name}}  {{player.patronymic}} {% endif %} {% endfor %} {% endwith %} «{{gtime.team.name}}»
{% endif %} {% if gamematch.gamematchpenalty_set.count > 0 %}
Штрафные броски после игры
{% for penalty in gamematch.gamematchpenalty_set.all %} {% endfor %}
Команда Игрок Вратарь Результат
{{penalty.team}} {% with player=penalty.player %} {% for player2team in player.player2team_set.all %} {% if player2team.team == team %} {{player2team.game_number}}  {{player.second_name}}  {{player.first_name}}  {{player.patronymic}} {% endif %} {% endfor %} {% endwith %} {% with player=penalty.gl_player %} {% for player2team in player.player2team_set.all %} {% if player2team.team == team %} {{player2team.game_number}}  {{player.second_name}}  {{player.first_name}}  {{player.patronymic}} {% endif %} {% endfor %} {% endwith %} {{penalty.result}}
{% endif %}