{% extends "oneevent/base.html" %} {% load tz %} {% block heading_action %}OneEvent!{% endblock %} {% block heading_title %}All your events{% endblock %} {% block navbar_header_text %}Events List{% endblock %} {% block navbar_extra %} {% endblock %} {% block content %}
{% if user.is_authenticated %} {%endif%} {% for event_info in events %} {% timezone event_info.event.get_tzinfo %} {% if user.is_authenticated %} {% endif %} {% endtimezone %} {% endfor %}
Event Date (local) Infos Organised by

{{ event_info.event.title }} {{ event_info.event.city }}

{% if event_info.event.location_name %}

at {{event_info.event.location_name}}

{% endif %}

{{ event_info.event.start|date:"D, d N Y H:i" }}

{% if event_info.event.end %}

- {{ event_info.event.end|date:"D, d N Y H:i" }}

{% endif %}

{% if event_info.event.max_participant > 0 %}

Participants: {{event_info.event.get_active_bookings.count}}/{{event_info.event.max_participant}}

{% endif %} {% if event_info.event.booking_close %}

Registration closes: {{event_info.event.booking_close|date:"D, d N Y H:i"}}

{% endif %} {% if event_info.event.choices_close %}

Choices closes: {{event_info.event.choices_close|date:"D, d N Y H:i"}}

{% endif %} {% if event_info.price_for_user %}

Price for you: {% if event_info.price_for_user > 0 %} {{ event_info.price_for_user }}{% if event_info.event.price_currency %}({{event_info.event.price_currency}}){% endif %} {% else %} Free {% endif %}

{% endif %}
{% for orga in event_info.event.organisers.all %}

{{orga.get_full_name}}

{% endfor %}
{% if event_info.booking %} {% if event_info.event.is_choices_open %} {% if event_info.event.choices.count > 0 %} Choices {% else %} Update {% endif %} {% else %} {% endif %} {% if event_info.user_can_cancel %} Unregister {% else %} {% endif %} {% elif event_info.user_can_book %} {% if event_info.event.is_booking_open %} {% if event_info.event.is_fully_booked %} {% else %} Register {% endif %} {% else %} {% endif %} {% endif %}
{% if event_info.user_can_update %}
Manage Edit ({{event_info.event.get_pub_status_display }})
{% endif %}
{% endblock %}