{% extends "touchtechnology/admin/workbook/print.html" %} {% load i18n %} {% block title %}{% trans "Season report" %} · {{ competition.title }} - {{ season.title }}{% endblock %} {% block back %}{% trans "Back to the season" %}{% endblock %} {% block content %}

{% trans "Season report" %}

{{ competition.title }} · {{ season.title }}

{% trans "Club officials" %}

{% regroup season.officials.all by club as officials %}
{% for group in officials %} {% for official in group.list %} {% endfor %} {% empty %} {% endfor %}
{% trans "Club" %} {% trans "Contact" %} {% trans "Roles" %} {% trans "Email" %} {% trans "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 }}
{% trans "No clubs have registered their officials yet." %}

{% trans "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 %}
{% trans "Division" %} {% trans "Team" %} {% trans "Person" %} {% trans "Birthdate" %} {% trans "Mobile" %} {% trans "Work Phone" %} {% trans "Email" %} {% trans "Player" %} {% trans "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 }} {% trans "Club has not yet provided registration details." %}
{% endfor %} {% endblock %}