From 31c1f970368fa83eda2c9700d247b23dad675da2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=AD=C3=B0ir=20Valberg=20Gu=C3=B0mundsson?= Date: Mon, 18 Mar 2019 10:29:57 +0100 Subject: [PATCH] Add event metadata information to non-js event pages. Fix #275. --- src/program/templates/noscript_schedule_view.html | 9 +++++++-- src/program/templates/schedule_event_detail.html | 9 ++++++++- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/src/program/templates/noscript_schedule_view.html b/src/program/templates/noscript_schedule_view.html index af36423b..01dbfff8 100644 --- a/src/program/templates/noscript_schedule_view.html +++ b/src/program/templates/noscript_schedule_view.html @@ -12,6 +12,7 @@ When? What? Where? + Type @@ -20,14 +21,18 @@ {% ifchanged instance.when.lower.date %} - {{ instance.when.lower.date|date:"l Y-m-d" }} + {{ instance.when.lower.date|date:"l Y-m-d" }} {% endifchanged %} {{ instance.when.lower|date:"H:i" }}-{{ instance.when.upper|date:"H:i" }} - {{ instance.event.title }} + + + {{ instance.event.title }} + {{ instance.location.name }} + {{ instance.event.event_type }} {% endfor %} diff --git a/src/program/templates/schedule_event_detail.html b/src/program/templates/schedule_event_detail.html index 99e75f52..2e042d85 100644 --- a/src/program/templates/schedule_event_detail.html +++ b/src/program/templates/schedule_event_detail.html @@ -5,7 +5,7 @@