{% extends "layouts/base.html" %} {% block title %}{{ tryout.title }} - TryoutPro{% endblock %} {% block page_title %}{{ tryout.title }}{% endblock %} {% block breadcrumb %}Home / Tryouts / {{ tryout.title }}{% endblock %} {% block content %}

Tryout Details

{% if can_edit %} Schedule Match {% endif %} {% if can_edit %}
{% endif %} {% if can_edit %} Edit {% endif %}
Game {{ tryout.game }}
Date {{ tryout.date.strftime('%A, %B %d, %Y') }}
Location {{ tryout.location or 'Not specified' }}
Status {{ tryout.status | replace('_', ' ') | title }}
Target Team {{ tryout.target_org_team.name if tryout.target_org_team else 'Not specified' }}
Manager {{ tryout.manager.username if tryout.manager else 'Not assigned' }}
Coach {{ tryout.coach.username if tryout.coach else 'Not assigned' }}
Registered Players {{ registered_players | length }}
{% if tryout.description %}
Description {{ tryout.description }}
{% endif %}
{% if current_user.role == 'player' and not is_registered and tryout.status in ['upcoming', 'in_progress'] %}
{% endif %} {% if can_edit %}

Add Player to Tryout

{% endif %}

Registered Players ({{ registered_players | length }})

{% if current_user.can_evaluate() %} {% endif %} {% for p in registered_players %} {% set reg = registrations | selectattr('player_id', 'equalto', p.id) | first %} {% if current_user.can_evaluate() %} {% endif %} {% else %} {% endfor %}
Player StatusEvaluation Actions
{{ p.username[:2] | upper }}
{{ p.username }}
{% if can_edit %}
{% else %} {{ reg.status }} {% endif %}
{% if player_eval_status.get(p.id) %} Evaluated {% else %} Pending {% endif %} {% if player_eval_status.get(p.id) %}Edit{% else %}Evaluate{% endif %}
No players registered yet.

Teams

{% if can_edit %} {% endif %}
{% if can_edit %} {% endif %} {% for team in team_data %}

{{ team.team.name }}

    {% for member in team.members %}
  • {{ member.player.username[:2] | upper }}
    {{ member.player.username }} {% if member.position %} {{ member.position }} {% endif %}
  • {% else %}
  • No players assigned yet.
  • {% endfor %}
{% if can_edit and registered_players %} {% set positions = game_positions.get(tryout.game, []) %}
{% if positions %} {% else %} {% endif %}
{% endif %}
{% else %}

No teams created yet.

{% endfor %}
{% if can_view_calendar %}

Schedule

{% if can_edit %} {% endif %}
{% if matches %}
{% if can_edit %} {% endif %} {% for item in match_data %} {% set m = item.match %} {% set participants = item.participants %} {% if can_edit %} {% endif %} {% endfor %}
Match Type Date Participants Time Presence StatusActions
{{ m.title }} {% if m.match_type == 'team_vs_team' %} Team vs Team {% elif m.match_type == 'player_vs_player' %} Player vs Player {% else %} Player Scrim {% endif %} {{ m.date.strftime('%m/%d/%Y') }} {% if m.start_time and m.end_time %} {{ m.start_time.strftime('%H:%M') }} - {{ m.end_time.strftime('%H:%M') }} {% else %} TBD {% endif %} {% if item.total_count > 0 %} {% if item.confirmed_count == item.total_count and item.total_count > 0 %} ✅ {{ item.confirmed_count }}/{{ item.total_count }} {% elif item.confirmed_count > 0 %} ✅ {{ item.confirmed_count }}/{{ item.total_count }} {% else %} ⏳ 0/{{ item.total_count }} {% endif %} {% else %} {% endif %} {% if m.match_type == 'team_vs_team' %}
{{ m.team1.name if m.team1 else 'Team 1' }} {% if participants.team1_players %}
    {% for pl in participants.team1_players %}
  • {{ pl.name }}{% if pl.position %} {{ pl.position }}{% endif %}
  • {% endfor %}
{% endif %}
vs
{{ m.team2.name if m.team2 else 'Team 2' }} {% if participants.team2_players %}
    {% for pl in participants.team2_players %}
  • {{ pl.name }}{% if pl.position %} {{ pl.position }}{% endif %}
  • {% endfor %}
{% endif %}
{% elif m.match_type == 'player_vs_player' %}
Team 1 {% if participants.team1_players %}
    {% for pl in participants.team1_players %}
  • {{ pl.name }}{% if pl.position %} {{ pl.position }}{% endif %}
  • {% endfor %}
{% endif %}
vs
Team 2 {% if participants.team2_players %}
    {% for pl in participants.team2_players %}
  • {{ pl.name }}{% if pl.position %} {{ pl.position }}{% endif %}
  • {% endfor %}
{% endif %}
{% else %} {{ participants | join(', ') }} {% endif %}
{{ m.status }} Edit Note
{% endif %} {% if matches %}
{% else %}

No matches scheduled yet. Check back later!

{% endif %}
{% endif %} {% if current_user.can_evaluate() %}

Evaluation Summary

{% for eval in evaluations %} {% else %} {% endfor %}
Player Evaluator Mecanics Cohesion Communication Gamesense Versatility Discipline Analysis Sport Ethics Mental Overall Recommendation
{{ eval.player.username }} {{ eval.evaluator.username }} {{ eval.mecanics_score or '-' }} {{ eval.cohesion_score or '-' }} {{ eval.communication_score or '-' }} {{ eval.gamesense_score or '-' }} {{ eval.versatility_score or '-' }} {{ eval.discipline_score or '-' }} {{ eval.analysis_score or '-' }} {{ eval.sport_ethics_score or '-' }} {{ eval.mental_score or '-' }} {{ eval.overall_score or '-' }} {{ eval.position_recommendation or '-' }}
No evaluations yet.
{% endif %}
{% endblock %}