From baf6811153642fe5a883e1c6076df5be4bce2680 Mon Sep 17 00:00:00 2001 From: Alex Aragon Date: Mon, 12 Jun 2017 19:09:50 -0500 Subject: [PATCH] lessons with accordion mode category - refs BT#12880 --- main/template/default/learnpath/list.tpl | 377 ++++++++++++++--------- 1 file changed, 228 insertions(+), 149 deletions(-) diff --git a/main/template/default/learnpath/list.tpl b/main/template/default/learnpath/list.tpl index 390c270307..154727d5de 100644 --- a/main/template/default/learnpath/list.tpl +++ b/main/template/default/learnpath/list.tpl @@ -11,7 +11,7 @@ {{ introduction_section }} {% set configuration = 'lp_category_accordeon'|api_get_configuration_value %} - +
{% for lp_data in data %} {% set show_category = true %} @@ -173,167 +173,246 @@ {% endif %} {% else %} - -
-
- -
- + {% endif %} {% endif %} {% endfor %} - +
{% if is_allowed_to_edit and not lp_is_shown %}

{{ "LearningPaths"|get_lang }}