From c237d4ecc7278e61ff299ae7f9a86319be34c796 Mon Sep 17 00:00:00 2001 From: Vidir Valberg Gudmundsson Date: Sun, 23 Jul 2017 11:52:53 +0200 Subject: [PATCH] Adding a back buton on event detail if noscript. --- .../templates/schedule_event_detail.html | 58 +++++++++++-------- 1 file changed, 35 insertions(+), 23 deletions(-) diff --git a/src/program/templates/schedule_event_detail.html b/src/program/templates/schedule_event_detail.html index 61b95a70..26cda5e7 100644 --- a/src/program/templates/schedule_event_detail.html +++ b/src/program/templates/schedule_event_detail.html @@ -2,34 +2,46 @@ {% load commonmark %} {% block program_content %} -
-
{{ event.event_type.name }} {{ event.title }}
-
-

- {{ event.abstract|commonmark }} -

-
+ -

Instances

-
    - {% for ei in event.instances.all %} -
  • {{ ei.when.lower|date:"l M. d H:i" }} - {{ ei.when.upper|date:"H:i" }}
  • - {% empty %} - No instances scheduled yet - {% endfor %} -
+
+
+
{{ event.event_type.name }} {{ event.title }}
+
+

+ {{ event.abstract|commonmark }} +

-
+
- {% if event.speakers.exists %} -

Speakers

-
- {% for speaker in event.speakers.all %} -

{{ speaker.name }}

+

Instances

+
    + {% for ei in event.instances.all %} +
  • {{ ei.when.lower|date:"l M. d H:i" }} - {{ ei.when.upper|date:"H:i" }}
  • + {% empty %} + No instances scheduled yet {% endfor %} -
- {% endif %} + + +
+ + {% if event.speakers.exists %} +

Speakers

+
+ {% for speaker in event.speakers.all %} +

{{ speaker.name }}

+ {% endfor %} +
+ {% endif %} +
{% endblock program_content %}