{% load my_filters %} {% load i18n %} {% load staticfiles %}
{% if not group_id %}

{% trans "Coaches" %}

{% if not coach_pages %}

{% trans "You currently have no coaches for this facility." %}

{% else %}
{% if not request.is_teacher %} {# Note: teachers can create other teachers but cannot delete them. #}

{% endif %}
{% for coach in coach_pages %} {% endfor %} {# Note: teachers can create other teachers but cannot delete them. #} {# 6x empty td elements for extending table formatting #}
{{ coach|format_name:"last_first" }} {% blocktrans with coachname=coach|format_name:"last_first" %}Edit user info for coach {{ coachname }}{% endblocktrans %} {{ coach.total_logins }} {{ coach.total_hours|floatformat }} {% trans "hour(s)" %} {{ coach.total_report_views }}
{% endif %}
{% if coach_pages.num_listed_pages > 1 %} {% endif %}
{% endif %}