From 084d2cee6b4e50bdc5c5f532dbc5fe8b6bd3c457 Mon Sep 17 00:00:00 2001 From: Vidir Valberg Gudmundsson Date: Sun, 23 Jul 2017 11:37:28 +0200 Subject: [PATCH] Addin the missing template for noscript fallback. --- .../templates/noscript_schedule_view.html | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 src/program/templates/noscript_schedule_view.html diff --git a/src/program/templates/noscript_schedule_view.html b/src/program/templates/noscript_schedule_view.html new file mode 100644 index 00000000..c1dfdda5 --- /dev/null +++ b/src/program/templates/noscript_schedule_view.html @@ -0,0 +1,39 @@ +{% extends 'program_base.html' %} + +{% load commonmark %} +{% load staticfiles %} + +{% block program_content %} + +
+ + + + + + + + + + + {% for instance in eventinstances %} + + {% ifchanged instance.when.lower.date %} + + + + {% endifchanged %} + + + + + + + {% endfor %} + +
When?What?Where?
{{ instance.when.lower.date|date:"l Y-m-d" }}
{{ instance.when.lower|date:"H:i" }}-{{ instance.when.upper|date:"H:i" }}{{ instance.event.title }}{{ instance.location.name }}
+ + +
+{% endblock %} +