{% load i18n %} {% if object.description or object.pricing or object.url %}
{% if object.description %}

{{ object.description }}

{% endif %} {% if object.pricing %}

{% trans "Pricing:" %} {{ object.pricing }}

{% endif %} {% if object.url %}

{{ object.url|truncatechars:100 }}

{% endif %} {% if object.publication_date %}

{% trans "Publication date:" %} {{ object.publication_date }}

{% endif %}
{% endif %}

{% blocktrans with places=object.places booked_places=booked|length count remaining_places=object.remaining_places %} Bookings ({{ booked_places }}/{{ places }}): {{ remaining_places }} remaining place {% plural %} Bookings ({{ booked_places }}/{{ places }}): {{ remaining_places }} remaining places {% endblocktrans %}

{% if booked|length > event.places %}

{% trans "This event is overbooked." %}

{% elif booked|length == event.places %}

{% trans "This event is full." %}

{% endif %}
{% if object.waiting_list_places %}

{% blocktrans with places=object.waiting_list_places booked_places=waiting|length count remaining_places=object.remaining_waiting_list_places %} Waiting List ({{ booked_places }}/{{ places }}): {{ remaining_places }} remaining place {% plural %} Waiting List ({{ booked_places }}/{{ places }}): {{ remaining_places }} remaining places {% endblocktrans %}

{% endif %}