{% extends "touchtechnology/admin/explorer/print.html" %}
{% load i18n common %}
{% block title %}{% trans "Scorecards" %}{% endblock %}
{% block heading %}{% trans "Scorecards" %}{% endblock %}
{% block subheading %}{% with first=matches|first %}{% if first %}{{ first.stage.division.season }}{% if first.date %} – {{ first.date|date:"l j F Y" }}{% endif %}{% endif %}{% endwith %}{% endblock %}
{% block extracss %}
{% endblock %}
{% block content %}
{% trans "TBA" as tba context "abbreviation: to be advised" %}
{% trans "TBC" as tbc context "abbreviation: to be confirmed" %}
{% for match in matches %}
{{ match.stage.division.short_title|default:match.stage.division.title }}{% if match.stage_group %}
{{ match.stage_group.short_title|default:match.stage_group.title }}{% elif match.is_final %}
{{ match.label }}{% endif %}{% if match.play_at %}{{ match.play_at.content_object.abbreviation|default:match.play_at.title }}{% else %}{{ tba }}{% endif %}
{# A scorecard is used at the ground, so its date and time are local. #}
{{ match.time|time:"G:i"|default:tbc }}
{{ match.date|date:"j M Y"|default:tba }}
{% for row in "12345" %}{{ match.get_home_team.title }}
{{ match.get_away_team.title }}
{% endfor %}
{% trans "Captain" %}
{% trans "Score" %}
{% trans "Captain" %}
{% trans "Score" %}
{% trans "Referees" %}
{% trans "No match to print." %}
{% endfor %} {% endblock %}