From 156b88f302b21eb7fbe36597968f9719ddddbb44 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Je=CC=81re=CC=81my=20Fabre?= Date: Thu, 27 Oct 2016 13:43:51 +0200 Subject: [PATCH] Event location details template --- .../agenda/event_location_detail.html | 43 +++++++++++++++++-- 1 file changed, 40 insertions(+), 3 deletions(-) diff --git a/app/templates/agenda/event_location_detail.html b/app/templates/agenda/event_location_detail.html index 7fa0b574..c37bee05 100644 --- a/app/templates/agenda/event_location_detail.html +++ b/app/templates/agenda/event_location_detail.html @@ -1,6 +1,43 @@ -{% extends "agenda/event_location_list.html" %} +{% extends "pages/page.html" %} {% load i18n future mezzanine_tags event_tags keyword_tags disqus_tags %} -{% block main %} - {% include "agenda/includes/event_location.html" %} +{% block meta_title %}{{ location.title }}{% if location.room %} - {{ location.room }}{% endif %}{% endblock %} + +{% block page_class %} + location +{% endblock %} + +{% block breadcrumb_menu %} + {{ block.super }} + +{% endblock %} + +{% block page_title %} + {% editable location.title %} +

{{ location.title }}{% if location.room %} - {{ location.room }}{% endif %}

+ {% endeditable %} +{% endblock %} + + + +{% block page_content %} + {% if location.description %} + {{ location.description|safe }} + {% endif %} +

{{ location.link }}

+ +{% endblock %} + +{% block page_sidebar %} +
+

+ {{ location.address }} +

+ + {% google_static_map location 900 300 15 %} + +

+ {% trans "Viewing events for the location" %} +

+
{% endblock %} -- 2.39.5