{% extends "mobile/coach/base.html" %} {% load i18n lucide %} {% comment %} Bottom-tab "Squad" -- roster + staff for the active team, current season. Each roster row links through to CoachRosterMemberView (stats, tap-to- call, edit, remove) -- see that view's own docstring. {% endcomment %} {% block content %} {% if not active_team %}

{% trans "Not staffing a team yet" %}

{% else %}
{% trans "Roster" %} {% if can_manage_active_team %} {% lucide "user-plus" size=14 %} {% trans "Add" %} {% endif %}
{% for membership in roster %} {% if not forloop.first %}
{% endif %}
{{ membership.jersey_number|default:"—" }}
{{ membership.member.get_full_name }} {% if membership.is_captain %}C{% endif %} {% if membership.is_alternate_captain %}A{% endif %}
{{ membership.position|default:"—" }}
{% lucide "chevron-right" size=18 class="shrink-0 text-dim" %}
{% empty %}
{% trans "No one on the roster for this season yet." %}
{% endfor %}
{% trans "Staff" %} {% if can_manage_active_team %} {% lucide "user-plus" size=14 %} {% trans "Add" %} {% endif %}
{% for assignment in staff %} {% if not forloop.first %}
{% endif %}
{{ assignment.member.get_full_name }}
{{ assignment.position }}
{% empty %}
{% trans "No staff assigned for this season yet." %}
{% endfor %}
{% endif %} {% endblock content %}