From da2f8994a65b785e7dc9b18d271cb63f05df1ac6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Je=CC=81re=CC=81my=20Fabre?= Date: Mon, 7 Nov 2016 11:43:58 +0100 Subject: [PATCH] Update event list template with tree menu and summary --- app/templates/agenda/event_list.html | 55 ++++------------- .../pages/menus/current_tree_event.html | 60 +++++++++++++++++++ 2 files changed, 70 insertions(+), 45 deletions(-) create mode 100644 app/templates/pages/menus/current_tree_event.html diff --git a/app/templates/agenda/event_list.html b/app/templates/agenda/event_list.html index f4113b04..f2f4f18b 100644 --- a/app/templates/agenda/event_list.html +++ b/app/templates/agenda/event_list.html @@ -1,9 +1,9 @@ {% extends "pages/page.html" %} -{% load i18n future mezzanine_tags event_tags keyword_tags disqus_tags organization_tags staticfiles %} +{% load i18n future mezzanine_tags event_tags keyword_tags disqus_tags organization_tags staticfiles pages_tags %} {% block meta_title %} {% if page %} - {{ page.richtextpage.meta_title }} + {{ page.title }} {% else %} {% trans "Rendez-vous in Paris" %} {% endif %} @@ -27,35 +27,7 @@ {% block breadcrumb_menu %} {{ block.super }} - {% if tag and tag|tag_is_excluded %} - - {% elif tag or location or month or week or author %} - - - {% else %} - - {% endif %} + {% endblock %} {% block main %} @@ -68,19 +40,7 @@

- {% if page %} - {{ page.richtextpage.meta_title }} - {% else %} - {% if tag and tag|tag_is_excluded %} - {% trans "Tournées" %} - {% else %} - {% if is_archive %} - {% trans "Archives" %} - {% else %} - {% trans "Rendez-vous in Paris" %} - {% endif %} - {% endif %} - {% endif %} + {{ page.title }}

@@ -109,6 +69,9 @@