{% extends "mobile/coach/base.html" %} {% load i18n %} {% comment %} C1 -- design_handoff_rosterchief_platform/README.md's C1 section: three stat tiles, a tonight's-session card (only rendered when one exists), a "needs you" list, and an "Also yours" card for the coach's own member-side RSVP. See CoachTodayView's own docstring for what's scoped down from the mock and why. The mock's own New event/New post/Add player actions live on the shell's own "+" tab-bar button now (coach/ base.html) rather than repeated here as inline buttons. {% endcomment %} {% block content %} {% if not staffed_teams %}

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

{% trans "Once you're assigned to a team's staff, its schedule and roster will show up here." %}

{% else %} {% if session_event %}
{% if tonight_event %}{% trans "Stats for tonight" %}{% else %}{% blocktrans with date=session_event.start|date:"D d M" %}Stats for {{ date }}{% endblocktrans %}{% endif %} {{ session_event.title }}
{% endif %}
{{ squad_count }}
{% trans "Squad" %}
{{ in_count }}
{% trans "In" %}
{{ silent_count }}
{% trans "Silent" %}
{% if session_event %}
{% if tonight_event %}{% blocktrans with time=session_event.start|date:"H:i" %}Tonight · {{ time }}{% endblocktrans %}{% else %}{% blocktrans with date=session_event.start|date:"D d M H:i" %}Next up · {{ date }}{% endblocktrans %}{% endif %}

{{ session_event.title }}

{% if session_event.location %}

{{ session_event.location.name }}

{% endif %} {% if can_manage_active_team %}
{% trans "Check attendance" %} {% if session_event.kind == "game" %} {% trans "Line-up" %} {% endif %}
{% endif %}
{% endif %} {% if needs_you %}
{% trans "Needs you" %}
{% for item in needs_you %}
{{ item.title }}
{{ item.detail }}
{% if item.action_url %} {{ item.action_label }} {% endif %}
{% endfor %}
{% endif %} {% if hero_attendance %}
{% trans "Also yours" %}

{% blocktrans with date=hero_attendance.event.start|date:"D d M H:i" %}Your own next event · {{ date }}{% endblocktrans %}

{{ hero_attendance.event.title }}

{% if rsvp_closed %} {{ hero_attendance.get_status_display }} {% else %} {% include "mobile/_hero_rsvp.html" %} {% endif %}
{% endif %} {% if not session_event and not needs_you and not hero_attendance %}

{% trans "Nothing needs your attention right now." %}

{% endif %} {% endif %} {% endblock content %}