{% if occupants|length > 0 %} Staff members are highlighted in green.
{# Panel is used to make table borders rounded. #}
{{ area.name }} occupancy {% if occupants|length > 1 %} {% if area.maximum_capacity != 0 and area.occupancy_count >= area.danger_capacity %} {% elif area.maximum_capacity != 0 and area.occupancy_count >= area.warning_capacity %} {% else %}{% endif %} {{ area.occupancy_count }} {% if area.maximum_capacity != 0 %} / {{ area.maximum_capacity }}{% endif %} people {% if occupants|length != area.occupancy_count %} {% with occupancy=area.occupancy_count|stringformat:"d" %} {% with negative_occupancy="-"|add:occupancy %} (+ {{ occupants|length|add:negative_occupancy }} staff) {% endwith %} {% endwith %} {% endif %} {% endif %} | |||
---|---|---|---|
User | Since | Working on project... | |
{{ o.customer.first_name }} {{ o.customer.last_name }} | {{ o.start|date:"l @ g:i A" }} | {{ o.project }} |