{% extends "layouts/base.html" %} {% block title %}{{ _('My Team(s)') }} - TryoutPro{% endblock %} {% block page_title %}{{ _('My Team(s)') }}{% endblock %} {% block breadcrumb %}{% endblock %} {% block content %} {% if team_data %} {% for item in team_data %} {% set team = item.team %}
| {{ _('Player') }} | {{ _('Status') }} | {{ _('Position') }} |
|---|---|---|
|
{{ entry.player.username[:2] | upper }}
{{ entry.player.username }}
|
{{ entry.status | capitalize }} | {{ entry.position or '—' }} |
| {{ _('Match') }} | {{ _('Opponent') }} | {{ _('Date') }} | {{ _('Time') }} | {{ _('Location') }} | {{ _('Presence') }} | {{ _('My Status') }} |
|---|---|---|---|---|---|---|
| {{ tm.title }} | {% if tm.opponent %} {{ tm.opponent }} {% else %} Practice {% endif %} | {{ tm.date.strftime('%m/%d/%Y') }} | {% if tm.start_time and tm.end_time %} {{ tm.start_time.strftime('%H:%M') }} - {{ tm.end_time.strftime('%H:%M') }} {% else %} TBD {% endif %} | {{ tm.location or '—' }} | {% if mdata.total_count > 0 %} {% if mdata.confirmed_count == mdata.total_count and mdata.total_count > 0 %} ✅ {{ mdata.confirmed_count }}/{{ mdata.total_count }} {% elif mdata.confirmed_count > 0 %} ⏳ {{ mdata.confirmed_count }}/{{ mdata.total_count }} {% else %} ❌ 0/{{ mdata.total_count }} {% endif %} {% else %} — {% endif %} | {% if mdata.participant_id %} {% else %} — {% endif %} |
{{ _('You are not currently assigned to any team.') }}