Project

General

Profile

Feature #8504

Collapsible course categories - code in description

Added by Michael Hosdez about 2 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
16/12/2016
Due date:
% Done:

0%

Estimated time:
Complexity:
Normal
SCRUM pts - complexity:
?

Description

If a teacher has a lot of courses, it's very interesting to collapse certain course categories.

We've made some changes in the code to accomplish this:

\main\template\default\user_portal\classic_courses_with_category.tpl
Change the following code, starting at line 5:

<div id="category-{{ category.id_category }}" class="panel-heading">
    <a role="button" data-toggle="collapse" data-parent="#page-content" href="#collapse-{{ category.id_category }}"  aria-expanded="true" aria-controls="categoryCollapse">
        {{ category.title_category }}
    </a>
</div>

Around line 10, after changing above code:

<div class="panel-body collapse in" id="collapse-{{ category.id_category }}">
...
</div>

Also available in: Atom PDF