{% extends "Admin.html" %} {% block title %} {% translate %} Room {% endtranslate %} {{ roomname }} {% endblock title %} {% block head %} {% endblock head %} {% block main %} {% if room.sname is none %}

{% translate %}Player URL{% endtranslate %}

{% translate %}Players can use the following URL for entering this room{% endtranslate %}:

{% translate %}Labels{% endtranslate %}

{% translate %}Recently seen{% endtranslate %}: n = 0
{% if room.labels %}

{% endif %}

{% translate %} Determining which labels are “online” is not an exact science. Instead, uproot uses various heuristics and algorithms to make a best-effort guess at which labels were “recently seen.” {% endtranslate %}

{% translate %} Rooms without preset labels auto-assign random labels or use acceptable labels provided through ?label=mylabel42 in the room’s URL. {% endtranslate %}

{% if room.open and room.config %} {% translate %}Open{% endtranslate %} {% elif room.open %} {% translate %}Open{% endtranslate %} {% else %} {% translate %}Closed{% endtranslate %} {% endif %}
{% if room.open and room.config %} {% translate %}This room is open and will auto-create a session when the first player joins.{% endtranslate %} {% elif room.open %} {% translate %}This room is open but has no config associated. Players will wait until a session is created manually.{% endtranslate %} {% else %} {% translate %}This room is closed. Players will wait until the room is opened or a session is created.{% endtranslate %} {% endif %}

{% translate %}New session{% endtranslate %}

{% include "SessionCreate.html" %}
{% translate %} If this box is unchecked, the room’s capacity will not be changed. This means that new room entrants can grow the session. {% endtranslate %} {% if room.capacity is none %} {% translate %} This room’s capacity is infinite. {% endtranslate %} {% else %} {% translate %} This room’s capacity is {{ room.capacity }}. {% endtranslate %} {% endif %}

{% set editing = true %} {% include "RoomSettingsForm.html" %}
{% else %} {# room.sname is not none #}

{% translate %}Existing session{% endtranslate %}

{% translate %}This room is associated with the following session{% endtranslate %}:

{{ room.sname }}

{% translate %}Associated config{% endtranslate %}

{% if room.config %}

{% translate %}This room is associated with the following config{% endtranslate %}:

{{ room.config }}

{% translate %}Apps{% endtranslate %}

{{ " → ".join(session_apps) }}

{% else %}

{% translate %}This room is not associated with a particular config{% endtranslate %}.

{% endif %}

{% translate %}Player URL{% endtranslate %}

{% translate %}Players can use the following URL for entering this room{% endtranslate %}:

{% translate %}Associated labels{% endtranslate %}

{% if room.labels %}

{% translate %}This room is associated with the following labels{% endtranslate %}:

{% for label in room.labels %} {{ label }}{% if not loop.last %} |{% endif %} {% endfor %}

{% else %}

{% translate %}This room is not associated with any labels{% endtranslate %}.

{% endif %}

{% translate %}Room status{% endtranslate %}

{% translate %}Status{% endtranslate %} {% if room.open %} {% translate %}Open{% endtranslate %} {% else %} {% translate %}Closed{% endtranslate %} {% endif %}
{% translate %}Players{% endtranslate %} {{ n_players }} / {% if room.capacity is not none %}{{ room.capacity }}{% else %}∞{% endif %}
{% translate %}Join mode{% endtranslate %} {% if room.labels is none and room.capacity is none %} {% translate %}Free join{% endtranslate %} {% else %} {% translate %}Restricted{% endtranslate %} {% endif %}

{% if room.open %} {% translate %}Stop accepting new participants while keeping the session active.{% endtranslate %} {% else %} {% translate %}Resume accepting new participants into the existing session.{% endtranslate %} {% endif %}

{% translate %}Room settings{% endtranslate %}

{% translate %}To edit room settings, first disassociate the session from this room.{% endtranslate %}

{% endif %} {% if room.labels %} {% endif %} {% endblock main %}