{% extends 'base.html' %} {% block content %}

{{ t('host_access_title') }}

{{ t('host_access_note') }}

{% if not unlocked %}
{% else %}

{{ t('total_guests') }}

{{ stats.total_guests }}

{{ t('attending_yes') }}

{{ stats.attending_yes }}

{{ t('attending_no') }}

{{ stats.attending_no }}

{{ t('attending_open') }}

{{ stats.attending_open }}

{{ t('plus_one_total') }}

{{ stats.plus_one_total }}

{{ t('host_stats_title') }}

{% for guest in guests %} {% endfor %}
{{ t('host_table_name') }} {{ t('host_table_status') }} {{ t('host_table_plus_one') }}
{{ guest["name"] }} {% if guest["attending"] == 1 %} {{ t('status_yes') }} {% elif guest["attending"] == 0 %} {{ t('status_no') }} {% else %} {{ t('status_open') }} {% endif %} {% if guest["attending"] == 1 and guest["plus_one"] == 1 %} {{ t('yes') }} {% else %} {{ t('no') }} {% endif %}
{% endif %} {% endblock %}