{% extends "base.html" %}
{% block content %}
{% if status['state']['open'] %}
Yes, we're open!
{% if status['sensors']['people_now_present'][0]['value'] > 0 %}There are currently {{ status['sensors']['people_now_present'][0]['value'] }} people present!
{% if 'names' in status['sensors']['people_now_present'][0] %}Present members: {{ ','.join(status['sensors']['people_now_present'][0]['names']) }}
{% endif %} {% endif %} {% else %}
Sorry, we're closed!
{% endif %} {% endblock %}