summaryrefslogtreecommitdiffstats
path: root/libreplanet-templates
diff options
context:
space:
mode:
authorrsiddharth <rsd@gnu.org>2017-10-25 01:27:53 +0000
committerrsiddharth <rsd@gnu.org>2017-10-25 01:33:31 +0000
commit358278fc2e863592b987871a4d7f53614ad3cd7b (patch)
treebc974386558af917053f0aa15b18f2fed4da8fb5 /libreplanet-templates
parent30836fa17712567acbb12844895d48da261bcdc3 (diff)
libreplanet-templates: 2018: lp-schedule: Add mk_video.
* libreplanet-templates/2018/lp-schedule.jinja2 (mk_video): New macro.
Diffstat (limited to 'libreplanet-templates')
-rw-r--r--libreplanet-templates/2018/lp-schedule.jinja29
1 files changed, 9 insertions, 0 deletions
diff --git a/libreplanet-templates/2018/lp-schedule.jinja2 b/libreplanet-templates/2018/lp-schedule.jinja2
index 733eac8..8264d38 100644
--- a/libreplanet-templates/2018/lp-schedule.jinja2
+++ b/libreplanet-templates/2018/lp-schedule.jinja2
@@ -45,6 +45,15 @@
{% endif %}
{% endmacro %}
+{# make video macro #}
+{% macro mk_video(video) %}
+ {% if video|lower != 'videotba' %}
+ <a class="btn btn-default btn-xs" href="{{ video }}">
+ <span class="glyphicon glyphicon-facetime-video"></span>
+ </a>
+ {% endif %}
+{% endmacro %}
+
{# make day header macro #}
{% macro mk_day_header(day, collapse_area) %}
{% if day|trim != '' %}