{% load thumbnail %} {% load arkestra_date_tags typogrify_tags humanize thumbnail placeholder_tags %} {% with gamematch_list=instance.gamematches.all %}

Расписание

{% for gamematch in gamematch_list %} {% endfor %}
{% with team=gamematch.team_a %} {% if team.image %}
{{ team.image.alt }}
{% else %}
{% endif %} {% if team.name %}
{{team.name}}
{% endif %} {% endwith %}
{% if gamematch.start_datetime %}
{{gamematch.start_datetime|date:"d M Y"}}  {{gamematch.start_datetime|date:"H:i"}}
{% else %} Матч {% endif %}
{% if gamematch.rink %}

{{gamematch.rink}}

{% endif %} {{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 %}
Все расписание» {% endwith %}