{% for u in users %} {% if u.is_active and not u.has_access_expired %} {{ u }} {% elif u.has_access_expired %} {{ u }} [EXPIRED ACCESS] {% else %} {{ u }} [INACTIVE] {% endif %}
{% empty %} This project does not have any members. {% endfor %}