commit
c58dcf5339
@ -1,50 +1,49 @@ |
|||||||
{% for item in hot_courses %} |
{% for item in hot_courses %} |
||||||
{% if item.title %} |
{% if item.title %} |
||||||
<div class="col-md-4 col-sm-4 col-xs-6"> |
<div class="col-md-4 col-sm-4 col-xs-6"> |
||||||
<div class="items"> |
<div class="items"> |
||||||
<div class="image"> |
<div class="image"> |
||||||
<img src="{{ item.course_image_large }}" class="img-responsive"> |
<img src="{{ item.course_image_large }}" class="img-responsive"> |
||||||
{% if item.categoryName != '' %} |
{% if item.categoryName != '' %} |
||||||
<span class="category">{{ item.categoryName }}</span> |
<span class="category">{{ item.categoryName }}</span> |
||||||
<div class="cribbon"></div> |
<div class="cribbon"></div> |
||||||
{% endif %} |
{% endif %} |
||||||
<div class="black-shadow"> |
<div class="black-shadow"> |
||||||
<div class="author-card"> |
<div class="author-card"> |
||||||
{% for teacher in item.teachers %} |
{% for teacher in item.teachers %} |
||||||
{% set counter = counter + 1 %} |
{% set counter = counter + 1 %} |
||||||
{% if counter <= 3 %} |
{% if counter <= 3 %} |
||||||
<a href="{{ teacher.url }}" class="ajax" data-title="{{ teacher.firstname }} {{ teacher.lastname }}"> |
|
||||||
<img src="{{ teacher.avatar }}"/> |
|
||||||
</a> |
|
||||||
<div class="teachers-details"> |
|
||||||
<h5> |
|
||||||
<a href="{{ teacher.url }}" class="ajax" data-title="{{ teacher.firstname }} {{ teacher.lastname }}"> |
<a href="{{ teacher.url }}" class="ajax" data-title="{{ teacher.firstname }} {{ teacher.lastname }}"> |
||||||
{{ teacher.firstname }} {{ teacher.lastname }} |
<img src="{{ teacher.avatar }}"/> |
||||||
</a> |
</a> |
||||||
</h5> |
<div class="teachers-details"> |
||||||
|
<h5> |
||||||
|
<a href="{{ teacher.url }}" class="ajax" data-title="{{ teacher.firstname }} {{ teacher.lastname }}"> |
||||||
|
{{ teacher.firstname }} {{ teacher.lastname }} |
||||||
|
</a> |
||||||
|
</h5> |
||||||
|
</div> |
||||||
|
{% endif %} |
||||||
|
{% endfor %} |
||||||
</div> |
</div> |
||||||
{% endif %} |
|
||||||
{% endfor %} |
|
||||||
</div> |
</div> |
||||||
|
<div class="user-actions">{{ item.description_button }}</div> |
||||||
</div> |
</div> |
||||||
<div class="user-actions">{{ item.description_button }}</div> |
<div class="description"> |
||||||
</div> |
<h4 class="title"> |
||||||
<div class="description"> |
<a title="{{ item.title}}" href="{{ item.course_public_url }}">{{ item.title}}</a> |
||||||
<h4 class="title"> |
</h4> |
||||||
<a title="{{ item.title}}" href="{{ item.course_public_url }}">{{ item.title}}</a> |
<div class="ranking"> |
||||||
</h4> |
{{ item.rating_html }} |
||||||
<div class="ranking"> |
</div> |
||||||
{{ item.rating_html }} |
<div class="toolbar"> |
||||||
</div> |
<div class="btn-group" role="group"> |
||||||
<div class="toolbar"> |
{{ item.register_button }} |
||||||
<div class="btn-group" role="group"> |
{{ item.unsubscribe_button }} |
||||||
|
</div> |
||||||
{{ item.register_button }} |
|
||||||
{{ item.unsubscribe_button }} |
|
||||||
</div> |
</div> |
||||||
</div> |
</div> |
||||||
</div> |
</div> |
||||||
</div> |
</div> |
||||||
</div> |
{% endif %} |
||||||
{% endif %} |
|
||||||
{% endfor %} |
{% endfor %} |
||||||
|
Loading…
Reference in new issue