{% extends "web/base.html" %} {% load humanize %} {% block secondary_nav %} {% if is_vote_available %} Vote For Films {% elif not has_registered and event %} Register for Next Event {% endif %} {% endblock secondary_nav %} {% block content %}

Upcoming

{% if event %}

The next event is {{ event.date|naturalday|capfirst }}

{% else %}

There is no upcoming event in the calender.

{% endif %} {% if has_registered and not is_vote_available %} {% if film %} {% include "votes/includes/film_card.html" with film=film only %} {% else %}

No upcoming film. {% endif %} {% elif event and not has_registered %}

You must update the calender in order to see the what the upcoming film might be. {% elif not has_fully_voted %}

You must vote for all films in order to see the what the upcoming film might be. {% endif %} {% if event %}

Register

    {% for user in present_users %}
  1. 🗹 {{ user.username }} {% endfor %} {% for user in absent_users %}
  2. 🗷 {{ user.username }} {% endfor %} {% for user in unknown_users %}
  3. ☐ {{ user.username }} {% endfor %}
{% endif %} {% endblock %}