From 0f4c8a2994ceaa3072374c938353fde0d5af9118 Mon Sep 17 00:00:00 2001 From: tr4ck3ur Date: Sat, 14 Feb 2015 12:12:47 +0100 Subject: Fix index page --- jm2l/templates/NewIndex.mako | 12 ++++++------ jm2l/views.py | 8 ++++---- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/jm2l/templates/NewIndex.mako b/jm2l/templates/NewIndex.mako index cfb42bb..ece14e3 100644 --- a/jm2l/templates/NewIndex.mako +++ b/jm2l/templates/NewIndex.mako @@ -1,14 +1,14 @@ <%inherit file="jm2l:templates/layout.mako"/> <%def name="jsAddOn()"> - + + <%def name="cssAddOn()">
- \ No newline at end of file diff --git a/jm2l/views.py b/jm2l/views.py index 63d4b02..e90184e 100644 --- a/jm2l/views.py +++ b/jm2l/views.py @@ -166,7 +166,7 @@ def JSON_TimeLine_Request(request): .filter(Event.event_type != None)\ .group_by(func.strftime('%d', Event.start_time)).all() - for Day in Days[2:]: + for Day in Days: Events = DBSession.query(Event)\ .filter(Event.for_year == year)\ .filter(Event.event_type != 'Stand')\ @@ -192,10 +192,10 @@ def JSON_TimeLine_Request(request): break DicResult = { "lang":"fr", - "headline":"JM2L 2013", + "headline":"JM2L 2015", "type":"default", - "startDate":"2013,11,30,10", - "text":"8ème Édition", + "startDate":"2015,11,28,10", + "text":"9ème Édition", "asset": { "media":"", -- cgit v1.2.3-70-g09d2