summaryrefslogtreecommitdiffstats
path: root/libreplanet-templates/2016/lp-schedule.jinja2
diff options
context:
space:
mode:
Diffstat (limited to 'libreplanet-templates/2016/lp-schedule.jinja2')
-rw-r--r--libreplanet-templates/2016/lp-schedule.jinja226
1 files changed, 15 insertions, 11 deletions
diff --git a/libreplanet-templates/2016/lp-schedule.jinja2 b/libreplanet-templates/2016/lp-schedule.jinja2
index 1d7cd92..69099cf 100644
--- a/libreplanet-templates/2016/lp-schedule.jinja2
+++ b/libreplanet-templates/2016/lp-schedule.jinja2
@@ -89,17 +89,21 @@
{{ mk_speakers(session_info['speakers']) }}
<p class="program-session-room-details">
{{ mk_room(session_info['room']) }}
- <button class="btn btn-default btn-xs"
- data-toggle="collapse" aria-expanded="false"
- aria-controls="day-{{ day_index }}-timeslot-{{ timeslot_index }}-session-{{ loop.index }}-collapse"
- data-target="#day-{{ day_index }}-timeslot-{{ timeslot_index }}-session-{{ loop.index }}-collapse">
- Details
- </button>
- </p>
- <div class="collapse in"
- id="day-{{ day_index }}-timeslot-{{ timeslot_index }}-session-{{ loop.index }}-collapse">
- {{ desc(session_info['desc']) }}
- </div> <!-- day-{{ day_index }}-timeslot-{{ timeslot_index }}-session-{{ loop.index }}-collapse end -->
+ {% if session_info['desc'][0]|lower == 'desctba' %}
+ </p>
+ {% else %}
+ <button class="btn btn-default btn-xs"
+ data-toggle="collapse" aria-expanded="false"
+ aria-controls="day-{{ day_index }}-timeslot-{{ timeslot_index }}-session-{{ loop.index }}-collapse"
+ data-target="#day-{{ day_index }}-timeslot-{{ timeslot_index }}-session-{{ loop.index }}-collapse">
+ Details
+ </button>
+ </p>
+ <div class="session-desc collapse in"
+ id="day-{{ day_index }}-timeslot-{{ timeslot_index }}-session-{{ loop.index }}-collapse">
+ {{ desc(session_info['desc']) }}
+ </div> <!-- day-{{ day_index }}-timeslot-{{ timeslot_index }}-session-{{ loop.index }}-collapse end -->
+ {% endif %}
</section> <!-- day-{{ day_index }}-timeslot-{{ timeslot_index }}-session-{{ loop.index }} end -->
{% endfor %} {# session end #}
{% endmacro %}