summaryrefslogtreecommitdiffstats
path: root/libreplanet-templates/2018/lp-schedule.jinja2
diff options
context:
space:
mode:
Diffstat (limited to 'libreplanet-templates/2018/lp-schedule.jinja2')
-rw-r--r--libreplanet-templates/2018/lp-schedule.jinja213
1 files changed, 13 insertions, 0 deletions
diff --git a/libreplanet-templates/2018/lp-schedule.jinja2 b/libreplanet-templates/2018/lp-schedule.jinja2
index 8264d38..443db15 100644
--- a/libreplanet-templates/2018/lp-schedule.jinja2
+++ b/libreplanet-templates/2018/lp-schedule.jinja2
@@ -54,6 +54,19 @@
{% endif %}
{% endmacro %}
+{# make desc details button macro #}
+{% macro mk_desc_details_btn(disc_list) %}
+ {% if disc_list[0]|lower != 'desctba' %}
+ <button class="btn btn-default btn-xs"
+ data-toggle="collapse" aria-expanded="false"
+ aria-controls="{{ caller()|trim }}"
+ data-target="#{{ caller()|trim }}">
+ Show details
+ <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
+ </button>
+ {% endif %}
+{% endmacro %}
+
{# make day header macro #}
{% macro mk_day_header(day, collapse_area) %}
{% if day|trim != '' %}