{% 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 and not event.is_over %}
{% 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.price == 0 %} {% else %}
    {% for price in pricing %}
  • {{ price.title }}{% if price.target_display %} ({{ price.target_display }}) {% endif %}
    {{ price.price|format_currency }}
    {% include "events/include/pricing_spots_status.html" %}
    ({% trans "ends" %} {{ price.end_dt|date:"m/d/Y" }})
  • {% endfor %}
{% endif %} {% if event.registration_configuration.has_member_price %} {% if not request.user.profile.is_member %} {% trans "Become a member" %} {% endif %} {% endif %}
{% if is_registrant %} {% endif %}
{% endif %} {% endif %} {% endif %} {% else %} {% endif %}