|
|
|
|
@ -101,25 +101,6 @@ |
|
|
|
|
{% for item in sessions %} |
|
|
|
|
<tr data-item="{{ item.session_id }}" data-type="session"> |
|
|
|
|
<td> |
|
|
|
|
{% if item.session_visibility == 0 %} |
|
|
|
|
<img src="{{ 'bullet_red.png'|icon() }}" |
|
|
|
|
alt="{{ 'CourseVisibilityClosed'|get_lang }}" |
|
|
|
|
title="{{ 'CourseVisibilityClosed'|get_lang }}"> |
|
|
|
|
{% elseif item.session_visibility == 1 %} |
|
|
|
|
<img src="{{ 'bullet_orange.png'|icon() }}" alt="{{ 'Private'|get_lang }}" |
|
|
|
|
title="{{ 'Private'|get_lang }}"> |
|
|
|
|
{% elseif item.session_visibility == 2 %} |
|
|
|
|
<img src="{{ 'bullet_green.png'|icon() }}" alt="{{ 'OpenToThePlatform'|get_lang }}" |
|
|
|
|
title="{{ 'OpenToThePlatform'|get_lang }}"> |
|
|
|
|
{% elseif item.session_visibility == 3 %} |
|
|
|
|
<img src="{{ 'bullet_blue.png'|icon() }}" alt="{{ 'OpenToTheWorld'|get_lang }}" |
|
|
|
|
title="{{ 'OpenToTheWorld'|get_lang }}"> |
|
|
|
|
{% elseif item.session_visibility == 4 %} |
|
|
|
|
<img src="{{ 'bullet_gray.png'|icon() }}" |
|
|
|
|
alt="{{ 'CourseVisibilityHidden'|get_lang }}" |
|
|
|
|
title="{{ 'CourseVisibilityHidden'|get_lang }}"> |
|
|
|
|
{% endif %} |
|
|
|
|
|
|
|
|
|
<a href="{{ _p.web_main ~ 'session/index.php?' ~ {'session_id': item.session_id}|url_encode() }}">{{ item.session_name }}</a> |
|
|
|
|
</td> |
|
|
|
|
<td class="text-center"> |
|
|
|
|
|