From 1764229b1778b8d2f39486b884dd581c6e4ffa1d Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Mon, 11 Apr 2016 11:00:59 +0200 Subject: [PATCH] add iframe template --- app/sandbox/local_settings.py | 1 + app/templates/agenda/event_detail.html | 4 +++- app/templates/agenda/event_iframe.html | 14 ++++++++++++++ 3 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 app/templates/agenda/event_iframe.html diff --git a/app/sandbox/local_settings.py b/app/sandbox/local_settings.py index b36a4e43..a893b22a 100644 --- a/app/sandbox/local_settings.py +++ b/app/sandbox/local_settings.py @@ -101,5 +101,6 @@ EVENT_GOOGLE_MAPS_DOMAIN = 'maps.google.fr' EVENT_PER_PAGE = 50 EVENT_USE_FEATURED_IMAGE = True EVENT_SHOP_URL = 'http://eve.ircam.fr/manifeste.php/manifestation/' +EVENT_PASS_URL = 'http://eve.ircam.fr/manifeste.php/pass/' TINYMCE_SETUP_JS = "/static/js/tinymce_setup.js" diff --git a/app/templates/agenda/event_detail.html b/app/templates/agenda/event_detail.html index 73c8ceb9..f60b1d25 100644 --- a/app/templates/agenda/event_detail.html +++ b/app/templates/agenda/event_detail.html @@ -165,7 +165,7 @@ {% endif %} -{% if event.videos.all %}} +{% if event.videos.all %}

{% trans "Videos" %}

{% for video in event.videos.all %} @@ -180,6 +180,8 @@ {% if event.allow_comments %}{% comments_for event %}{% endif %} {% endblock %} +{% block ical %} {% trans "Subscribe to all events in" %} Google Calendar/Outlook/iCal +{% endblock %} {% endblock %} diff --git a/app/templates/agenda/event_iframe.html b/app/templates/agenda/event_iframe.html new file mode 100644 index 00000000..769f91d4 --- /dev/null +++ b/app/templates/agenda/event_iframe.html @@ -0,0 +1,14 @@ +{% extends "agenda/event_detail.html" %} +{% load mezzanine_tags comment_tags keyword_tags rating_tags i18n future disqus_tags event_tags festival_tags %} + +{% block title %} + {{ title }} +{% endblock %} + +{% block main %} + +{% block event_detail_content %} + +{% endblock %} + +{% endblock %} -- 2.39.5