You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
1.2 KiB
35 lines
1.2 KiB
<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 %}
|
|
|