diff --git a/src/thsf/templates/planning.html b/src/thsf/templates/planning.html index 9fa9c5b..aca6a52 100644 --- a/src/thsf/templates/planning.html +++ b/src/thsf/templates/planning.html @@ -2,6 +2,7 @@ {% block content %}
{% for slot in slots %} + {% set loop_index = loop.index %} {% if filter %} {% if slot.submission_type.en | lower in filter %} {% include "slot.html" %} diff --git a/src/thsf/templates/slot.html b/src/thsf/templates/slot.html index af32619..e3b0e52 100644 --- a/src/thsf/templates/slot.html +++ b/src/thsf/templates/slot.html @@ -1,7 +1,7 @@
+ onclick="switch_visibility(document.getElementById('{{slot.code}}_{{loop_index}}'))"> {{slot.title}}
@@ -17,12 +17,12 @@
{% for speaker in slot.speakers %}
-
+
{{speaker.name | title}}
{% if speaker.avatar or speaker.biography %} -
+
{% if speaker.avatar %}
{% endfor %}
-
+
{% if slot.image %}