{% load i18n %} {% load base_filters %} {% load perm_tags %} {% if registration.enabled %} {% if event.is_over and not request.user.is_superuser %}
{% trans "Event has ended" %}
{% else %} {% if spots_taken >= limit and limit > 0 %}
{% trans "Event is full" %}
{% else %} {% if reg_ended %}
{% trans "Registration has ended" %}
{% endif %} {% if not reg_started %}
{% trans "Registration starts on " %}
{{ earliest_time }}
{% endif %} {% if pricing %}
{% if pricing|length == 1 and pricing.0.amount == 0 %} {% else %} {% endif %}
{% include "events/include/spots_status.html" %} {% if is_registrant %}
You have already registered
{% endif %}
{% endif %} {% endif %} {% endif %} {% endif %}