{% extends "simpl/base.html" %} {% load static %} {% load i18n %} {% load includecontents %} {% block main_wrap_classes %}v-nav-page-layout{% endblock %} {% block page_header %} {% endblock page_header %} {% block content_inner %}
{% if not players and not inactive_players and not invites %}

No players found.

{% endif %} {% if run.status >= run.STATUS.PLAY %} {% if players %}

Active Players ({{ players|length }}{% if players|length != players_count %}/{{ players_count }}{% endif %})

{% endif %} {% if run.multiplayer %} {% for team, team_players in teams.items %}

{{ team }}

{% for player in team_players %} {% include "simpl/includes/players_list/multiplayer_in_play.html" %} {% endfor %}
{% endfor %} {% else %}{% comment %} Single player {% endcomment %}
{% for player in players %} {% include "simpl/includes/players_list/singleplayer_in_play.html" %} {% endfor %}
{% endif %} {% else %}{% comment %} Setup {% endcomment %} {% if players %}

Ready to Play ({{ players|length }}{% if players|length != players_count %}/{{ players_count }}{% endif %})

{% endif %} {% if run.multiplayer %} {% for team, team_players in teams.items %}

{{ team }}

{% for player in team_players %} {% include "simpl/includes/players_list/active_player_in_setup.html" %} {% endfor %}
{% endfor %} {% else %}{% comment %} Single player {% endcomment %}
{% for player in players %} {% include "simpl/includes/players_list/active_player_in_setup.html" %} {% endfor %}
{% endif %} {% endif %} {% if inactive_players %}

Inactive Players ({{ inactive_players|length }}{% if inactive_players|length != inactive_count %}/{{ inactive_count }}{% endif %})

{% for player in inactive_players %} {% include "simpl/includes/players_list/inactive_player.html" %} {% endfor %}
{% endif %}{% comment %} Inactive {% endcomment %} {% if invites %}

Invites Sent ({{ invites|length }}{% if invites|length != invites_count %}/{{ invites_count }}{% endif %})

{% for player in invites %} {% include "simpl/includes/players_list/invite.html" %} {% endfor %}
{% endif %}{% comment %} Invites {% endcomment %}
{% include "simpl/includes/players_list/instructions.html" %}
{% endblock %}