From: Guillaume Pellerin Date: Tue, 11 Oct 2016 10:14:54 +0000 (+0200) Subject: cleanup X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=0f0fa0190abfdb8ddb44e131f1896be3b8ec8262;p=mezzo.git cleanup --- diff --git a/app/templates/agenda/event_detail.html b/app/templates/agenda/event_detail.html index 9b7319ab..c494d6bb 100644 --- a/app/templates/agenda/event_detail.html +++ b/app/templates/agenda/event_detail.html @@ -74,47 +74,6 @@

{% endif %} - {% comment %} - {% if event.location %} -

Le lieu :

- {% block event_detail_location %} - {{ event.location }} -

-

{{ event.location }} {{ event.location.address|linebreaksbr }}

-

{% trans "Room" %} {{ event.location.room }}

- - Get Directions - -

- - {% google_static_map event 900 300 15 %} - - {% endblock %} - {% endif %} - - {% block event_detail_keywords %} - {% keywords_for event as tags %} - {% if tags %} - {% spaceless %} - - {% endspaceless %} - {% endif %} - {% endblock %} - - {% block event_detail_rating %} -
-
- {% rating_for event %} -
-
- {% endblock %} - {% endcomment %} - {% endblock %} {% block page_link %} @@ -128,6 +87,13 @@ {% endif %} {% endwith %} + {% with child.links.all as links %} + {% if links %} +
+ {% include 'core/inc/link.html' %} +
+ {% endif %} + {% endwith %} {% if event.mentions %}
@@ -227,11 +193,6 @@ {% 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 %}