parent
7e2e475014
commit
4ff4c48ee0
@ -0,0 +1,51 @@ |
||||
<!-- view classic --> |
||||
{% for course in courses %} |
||||
<div class="classic-courses"> |
||||
{% for item in course %} |
||||
<div class="panel panel-default"> |
||||
<div class="panel-body"> |
||||
<div class="row"> |
||||
<div class="col-md-2"> |
||||
<a class="thumbnail"> |
||||
{% if item.thumbnails != '' %} |
||||
<img src="{{ item.thumbnails }}" title="{{ item.title }}" alt="{{ item.title }}"/> |
||||
{% else %} |
||||
{{ 'blackboard.png' | img(48, item.title ) }} |
||||
{% endif %} |
||||
</a> |
||||
</div> |
||||
<div class="col-md-10"> |
||||
{% if item.edit_actions != '' %} |
||||
<div class="pull-right"><a class="btn btn-default btn-sm" href="{{ item.edit_actions }}"><i class="fa fa-pencil" aria-hidden="true"></i></a></div> |
||||
{% endif %} |
||||
<h4 class="course-items-title"> |
||||
{% if item.visibility == constant('COURSE_VISIBILITY_CLOSED') %} |
||||
{{ item.title }} |
||||
{% else %} |
||||
<a href="{{ item.link }}"> |
||||
{{ item.title }} |
||||
</a> |
||||
{{ item.notifications }} |
||||
{% endif %} |
||||
</h4> |
||||
<div class="course-items-session"> |
||||
{{ 'teacher.png' | img(16, 'Professor'|get_lang ) }} |
||||
<ul class="teachers"> |
||||
{% for teacher in item.teachers %} |
||||
<li> |
||||
{% set counter = counter + 1 %} |
||||
{% if counter > 1 %} | {% endif %} |
||||
<a href="{{ teacher.url }}" class="ajax" data-title="{{ teacher.firstname }} {{ teacher.lastname }}"> |
||||
{{ teacher.firstname }} {{ teacher.lastname }} |
||||
</a> |
||||
</li> |
||||
{% endfor %} |
||||
</ul> |
||||
</div> |
||||
</div> |
||||
</div> |
||||
</div> |
||||
</div> |
||||
{% endfor %} |
||||
</div> |
||||
{% endfor %} |
@ -1,54 +1,3 @@ |
||||
<!-- view classic --> |
||||
{% for course in courses %} |
||||
<div class="classic-courses"> |
||||
{% for item in course %} |
||||
<div class="panel panel-default"> |
||||
<div class="panel-body"> |
||||
<div class="row"> |
||||
<div class="col-md-2"> |
||||
<a class="thumbnail"> |
||||
{% if item.thumbnails != '' %} |
||||
<img src="{{ item.thumbnails }}" title="{{ item.title }}" alt="{{ item.title }}"/> |
||||
{% else %} |
||||
{{ 'blackboard.png' | img(48, item.title ) }} |
||||
{% endif %} |
||||
</a> |
||||
</div> |
||||
<div class="col-md-10"> |
||||
{% if item.edit_actions != '' %} |
||||
<div class="pull-right"><a class="btn btn-default btn-sm" href="{{ item.edit_actions }}"><i class="fa fa-pencil" aria-hidden="true"></i></a></div> |
||||
{% endif %} |
||||
<h4 class="course-items-title"> |
||||
{% if item.visibility == constant('COURSE_VISIBILITY_CLOSED') %} |
||||
{{ item.title }} |
||||
{% else %} |
||||
<a href="{{ item.link }}"> |
||||
{{ item.title }} |
||||
</a> |
||||
{{ item.notifications }} |
||||
{% endif %} |
||||
</h4> |
||||
<div class="course-items-session"> |
||||
{{ 'teacher.png' | img(16, 'Professor'|get_lang ) }} |
||||
<ul class="teachers"> |
||||
{% for teacher in item.teachers %} |
||||
<li> |
||||
{% set counter = counter + 1 %} |
||||
{% if counter > 1 %} | {% endif %} |
||||
<a href="{{ teacher.url }}" class="ajax" data-title="{{ teacher.firstname }} {{ teacher.lastname }}"> |
||||
{{ teacher.firstname }} {{ teacher.lastname }} |
||||
</a> |
||||
</li> |
||||
{% endfor %} |
||||
</ul> |
||||
</div> |
||||
</div> |
||||
</div> |
||||
</div> |
||||
</div> |
||||
{% endfor %} |
||||
</div> |
||||
{% endfor %} |
||||
<!-- new view course special --> |
||||
<div class="grid-courses"> |
||||
<div class="row"> |
Loading…
Reference in new issue