12345678910111213141516171819202122232425262728293031323334 |
- <h2 class="page-header">{{ 'RequiredSessions'|get_lang }}</h2>
- {% for item in sequences %}
- <h4>{{ item.name }}</h4>
- <div id="parents">
- {% for session in item.requirements %}
- <div class="parent">
- <div class="big-icon">
- <img src="{{ 'item-sequence.png'|icon(48) }}" width="48" height="48">
- <p class="sequence-course">{{ session.name }}</p>
- {% if _u.logged %}
- <span class="label {{ session.status ? 'label-success' : 'label-danger' }}">
- {% if session.status %}
- <em class="fa fa-check"></em> {{ 'Complete'|get_lang }}
- {% else %}
- <em class="fa fa-exclamation-triangle"></em> {{ 'Incomplete'|get_lang }}
- {% endif %}
- </span>
- {% endif %}
- </div>
- </div>
- {% if loop.index != item.requirements|length %}
- <em class="fa fa-plus fa-3x sequence-plus-icon"></em>
- {% endif %}
- {% endfor %}
- </div>
- {% endfor %}
- {% if allow_subscription %}
- <hr>
- <p>{{ subscribe_button }}</p>
- {% endif %}
|