{% load i18n static %} {% load common competition %} {% trans "Sign-on Sheet" %} {% trans "TBA" as tba context "abbreviation: to be advised" %} {% trans "TBC" as tbc context "abbreviation: to be confirmed" %} {% for match in matches %}
{% with p1=match.get_home_team|players:14 p2=match.get_away_team|players:14 %} {% for home, away in p1|pair:p2 %} {% endfor %} {% endwith %}
{{ match.date|date:"jS M Y"|default:tba }} {{ match.time|time:"G:i"|default:tbc }} {{ match.play_at.title|htmlentities }} {{ match.stage.division.title|htmlentities }}
{{ match.stage.title|htmlentities }}
{{ match.get_home_team.title|htmlentities }} {{ match.get_away_team.title|htmlentities }}
{% if home %} {{ home.person.first_name|htmlentities }} {{ home.person.last_name|htmlentities }} {% else %}   {% endif %} {% if away %} {{ away.person.first_name|htmlentities }} {{ away.person.last_name|htmlentities }} {% else %}   {% endif %}
{% endfor %}