{% extends "mobile/coach/base.html" %} {% load i18n lucide %} {% comment %} Bottom-tab "Squad" -- roster + staff for the active team, current season. See CoachSquadView's own docstring for why there's no per-row edit here (jersey number/position/captaincy stays a desktop-only action for now). {% 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:"—" }}
{% empty %}
{% trans "No one on the roster for this season yet." %}
{% endfor %}
{% trans "Staff" %}
{% 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 %}