lpschedule-generator

libreplanet schedule generator - ricketyspace.net/lpschedule-generator
git clone git://git.ricketyspace.net/lpschedule-generator.git
Log | Files | Refs

commit 8d8a116e9654d1edfbd97b693553accf52fa0c24
parent 6b6fec05d81bb25574c2bc299f06e528275905fd
Author: rsiddharth <rsd@gnu.org>
Date:   Wed, 25 Oct 2017 01:30:43 +0000

libreplanet-templates: 2018: lp-schedule: Add mk_desc.

* libreplanet-templates/2018/lp-schedule.jinja2
(mk_desc): New macro.

Diffstat:
libreplanet-templates/2018/lp-schedule.jinja2 | 9+++++++++
1 file changed, 9 insertions(+), 0 deletions(-)

diff --git a/libreplanet-templates/2018/lp-schedule.jinja2 b/libreplanet-templates/2018/lp-schedule.jinja2 @@ -67,6 +67,15 @@ {% endif %} {% endmacro %} +{% macro mk_desc(disc_list) %} + {% if disc_list[0]|lower != 'desctba' %} + <div class="session-desc collapse in" + id="{{ caller()|trim }}"> + {{ desc(disc_list) }} + </div> <!-- {{ caller()|trim }} end --> + {% endif %} +{% endmacro %} + {# make day header macro #} {% macro mk_day_header(day, collapse_area) %} {% if day|trim != '' %}