Username
{{ profile_user.username }}
Role
{{ profile_user.role | capitalize }}
{% if profile_user.discord_username %}
Discord
{{ profile_user.discord_username }}
{% endif %}
{% if profile_user.league_os_profile %}
{% endif %}
{% set gamertags = profile_user.gamertags %}
{% if gamertags %}
{{ _('Gamertags') }}
| {{ _('Game') }} |
{{ _('Gamertag') }} |
{{ _('Platform') }} |
{{ _('Profile') }} |
{% for gt in gamertags %}
| {{ gt.game }} |
{{ gt.gamertag }} |
{{ gt.platform or '-' }} |
{% if gt.get_trn_url() %}
{{ _('View Profile') }}
{% else %}
—
{% endif %}
|
{% endfor %}
{% endif %}
{% if profile_user.role in ('player', 'coach') and availability %}
{{ _('Availability') }}
({{ '%.1f'|format(availability_hours or 0.0) }} h)
{% set day_names = ['Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday', 'Sunday'] %}
{% for day_idx in range(7) %}
{% set day_slots = availability | selectattr('day_of_week', 'equalto', day_idx) | list %}
{% if day_slots %}
{% for slot in day_slots | sort(attribute='start_time') %}
{{ slot.start_time.strftime('%H:%M') }}–{{ slot.end_time.strftime('%H:%M') }}
{% endfor %}
{% else %}
—
{% endif %}
{% endfor %}
{% endif %}