From ddd7c33e8e488ebfb163cef2ebd2ef6cbc9f6dc0 Mon Sep 17 00:00:00 2001
From: rsiddharth
Date: Wed, 11 May 2016 04:10:07 +0000
Subject: Add `DescTBA` feature for LP Schedule.
From now on `DescTBA` can be given if the description for a session is
not decided yet; `DescTBA` will be filtered out of the generated HTML.
Addresses issue #4.
---
libreplanet-templates/2016/lp-schedule.jinja2 | 26 +++++++++++++++-----------
1 file changed, 15 insertions(+), 11 deletions(-)
(limited to 'libreplanet-templates/2016/lp-schedule.jinja2')
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']) }}
{{ mk_room(session_info['room']) }}
-
-
-
- {{ desc(session_info['desc']) }}
-
+ {% if session_info['desc'][0]|lower == 'desctba' %}
+