{% load i18n %}

Club Officials

{% regroup season.officials.all by club as officials %} {% for group in officials %} {% for official in group.list %} {% endfor %} {% empty %} {% endfor %}
Club Contact Roles Email Phone
{% ifchanged group.grouper %} {{ group.grouper.title }} {% endifchanged %} {{ official.person.get_full_name }} {% for role in official.roles.all %} {{ role.name }}{% if not forloop.last %}, {% endif %} {% endfor %} {{ official.person.email|urlize }} {{ official.person.mobile_phone }}
No clubs have registered their officials yet.

Club Reports

{% regroup object_list by club as clubs %} {% for group in clubs %}

{{ group.grouper.title|default:"No Club" }}

{% for team in group.list %} {% for object in team.people.select_related %} {% empty %} {% endfor %} {% endfor %}
Division Team Person Birthdate Mobile Work Phone Email Player Roles
{% ifchanged team.division %}{{ team.division.title }}{% endifchanged %} {{ team.title }} {{ object.person.get_full_name }} {{ object.person.date_of_birth|default_if_none:"-" }} {{ object.person.mobile_telephone }} {{ object.person.work_telephone }} {{ object.person.email|urlize }} {% if object.is_player %} {% if object.number %} #{{ object.number }} {% else %} {% trans "TBA" %} {% endif %} {% endif %} {% for role in object.roles.all %} {{ role.name }}{% if not forloop.last %}, {% endif %} {% endfor %}
{{ team.division.title }} {{ team.title }} Club has not yet provided registration details.
{% endfor %}