+
+ {% trans "Attendance" %}
+
+
+
+
+
{{ gathering.attendee_count }}
+ {% if gathering.max_attendees %}
+
/ {{ gathering.max_attendees }}
+ {% endif %}
+
{% trans "confirmed" %}
+
+
+ {% if gathering.max_attendees %}
+
+ {% if gathering.spots_remaining == 0 %}
+
{% trans "This gathering is full." %}
+ {% elif gathering.spots_remaining is not None %}
+
+ {{ gathering.spots_remaining }} {% trans "spot(s) remaining" %}
+
+ {% endif %}
+ {% endif %}
+ {# Registration button #}
+ {% if not gathering.registration_required %}
+
{% trans "No registration required — just show up!" %}
+ {% elif user.is_authenticated %}
+ {% if user == gathering.organizer %}
+
{% trans "You are the organizer of this gathering." %}
+ {% elif user_registration %}
+
+
+ {% if user_registration.status == 'confirmed' %}
+ {% trans "You are registered!" %}
+ {% elif user_registration.status == 'waitlisted' %}
+ {% trans "You are on the waitlist." %}
+ {% elif user_registration.status == 'cancelled' %}
+ {% trans "Registration cancelled." %}
+ {% else %}
+ {% trans "Awaiting confirmation." %}
+ {% endif %}
+
+ {% if user_registration.status != 'cancelled' %}
+
+ {% endif %}
+ {% elif gathering.status == 'published' %}
+
+ {% endif %}
+ {% else %}
+
+ {% trans "Sign in to Register" %}
+
+ {% endif %}
+