RuntimeWarning, r'django\.db\.models\.fields')
EVENT_GOOGLE_MAPS_DOMAIN = 'maps.google.fr'
-EVENT_PER_PAGE = 8
+EVENT_PER_PAGE = 50
EVENT_USE_FEATURED_IMAGE = True
EVENT_SHOP_URL = 'http://eve.ircam.fr/manifeste.php/manifestation/'
{% extends "agenda/event_detail.html" %}
{% load mezzanine_tags comment_tags keyword_tags rating_tags i18n future disqus_tags event_tags festival_tags %}
-{% block booking %}
+{% block event_detail_postedby %}
{% endblock %}
{% block event_detail_content %}
{% block event_detail_postedby %}
{% editable event.start event.end event.location %}
+{% with True as unit_booking %}
{% include 'agenda/includes/event_metainfo.html' %}
+ {% for child in event.children.all %}
+ {% with child as event %}
+ {% include "agenda/includes/event_metainfo.html" %}
+ {% endwith %}
+ {% endfor %}
+{% endwith %}
{% endeditable %}
{% endblock %}
-{% block booking %}
-<a href="{% url 'event_booking' event.slug %}" class="btn event__meta__btn">
- <i class="icon icon__bookmark"></i> {% trans "Booking" %}
-</a>
-{% endblock %}
-
{% block event_detail_commentlink %}
<p>
{% if event.allow_comments %}
{% endblock %}
{% block event_list_event_metainfo %}
+ {% with False as unit_booking %}
{% include "agenda/includes/event_metainfo.html" %}
{% for child in event.children.all %}
{% with child as event %}
{% include "agenda/includes/event_metainfo.html" %}
{% endwith %}
{% endfor %}
+ {% endwith %}
{% endblock %}
{% block event_list_event_content %}
{% if event.end|date == event.start|date and event.end.hour|subtract:event.start.hour > 3 %}{{ event.end|time:"TIME_FORMAT" }}{% endif %}
{% endif %}
{% if event.location %}
- <a href="{% url "event_list_location" event.location.slug %}" class="event__meta__location">{{ event.location }}</a>
+ {# <a href="{% url "event_list_location" event.location.slug %}" class="event__meta__location">{{ event.location }}</a>#}
+ <span class="event__meta__location">{{ event.location }}</span>
+ {% if unit_booking %}
+ <a href="{% url 'event_booking' event.slug %}" class="btn event__meta__btn">
+ <i class="icon icon__bookmark"></i> {% trans "Booking" %}
+ </a>
+ {% endif %}
{% endif %}
</div>
</div>