{% extends "layouts/base.html" %} {% block title %}Tryouts - TryoutPro{% endblock %} {% block page_title %}Tryouts{% endblock %} {% block breadcrumb %}Home / Tryouts{% endblock %} {% block header_actions %} {% if current_user.can_manage_tryouts() %} New Tryout {% endif %} {% endblock %} {% block content %}
{% for tryout in tryouts %}

{{ tryout.title }}

{{ tryout.status | replace('_', ' ') | title }}
Game {{ tryout.game }}
Date {{ tryout.date.strftime('%b %d, %Y') }}
Location {{ tryout.location or 'TBD' }}
Players {{ tryout.registrations.count() }}
{% if current_user.can_evaluate() %}
Evaluations {{ tryout.evaluations.count() }}
{% endif %} {% if tryout.target_org_team %}
Target Team {{ tryout.target_org_team.name }}
{% endif %} {% if tryout.max_players %}
Max Players {{ tryout.max_players }}
{% endif %}
{% if tryout.description %}

{{ tryout.description | truncate(120) }}

{% endif %}
{% else %}

No tryouts found

{% if current_user.can_manage_tryouts() %}

Get started by creating a new tryout.

Create Tryout {% endif %}
{% endfor %}
{% endblock %}