|
|
|
@ -38,12 +38,33 @@ |
|
|
|
</h4> |
|
|
|
</h4> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="block-author"> |
|
|
|
<div class="block-author"> |
|
|
|
{% for teacher in course.teachers %} |
|
|
|
{% if course.teachers | length > 2 %} |
|
|
|
|
|
|
|
<a |
|
|
|
|
|
|
|
id="plist" |
|
|
|
|
|
|
|
data-trigger="focus" |
|
|
|
|
|
|
|
tabindex="0" role="button" |
|
|
|
|
|
|
|
class="btn btn-default panel_popover" |
|
|
|
|
|
|
|
data-toggle="popover" |
|
|
|
|
|
|
|
title="{{ 'CourseTeachers' | get_lang }}" |
|
|
|
|
|
|
|
data-html="true" |
|
|
|
|
|
|
|
> |
|
|
|
|
|
|
|
<i class="fa fa-graduation-cap" aria-hidden="true"></i> |
|
|
|
|
|
|
|
</a> |
|
|
|
|
|
|
|
<div id="popover-content-plist" class="hide"> |
|
|
|
|
|
|
|
{% endif %} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{% for teacher in course.teachers %} |
|
|
|
{% if course.teachers | length > 2 %} |
|
|
|
{% if course.teachers | length > 2 %} |
|
|
|
<a href="{{ teacher.url }}" class="ajax" |
|
|
|
<div class="popover-teacher"> |
|
|
|
data-title="{{ teacher.firstname }} {{ teacher.lastname }}"> |
|
|
|
<a href="{{ teacher.url }}" class="ajax"> |
|
|
|
<img src="{{ teacher.avatar }}"/> |
|
|
|
<img src="{{ teacher.avatar }}"/> |
|
|
|
</a> |
|
|
|
</a> |
|
|
|
|
|
|
|
<div class="teachers-details"> |
|
|
|
|
|
|
|
<h5> |
|
|
|
|
|
|
|
{{ teacher.firstname }} {{ teacher.lastname }} |
|
|
|
|
|
|
|
</h5> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
{% else %} |
|
|
|
{% else %} |
|
|
|
<a href="{{ teacher.url }}" class="ajax" |
|
|
|
<a href="{{ teacher.url }}" class="ajax" |
|
|
|
data-title="{{ teacher.firstname }} {{ teacher.lastname }}"> |
|
|
|
data-title="{{ teacher.firstname }} {{ teacher.lastname }}"> |
|
|
|
@ -59,28 +80,34 @@ |
|
|
|
<p>{{ "Teacher"|get_lang }}</p> |
|
|
|
<p>{{ "Teacher"|get_lang }}</p> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
{% endif %} |
|
|
|
{% endif %} |
|
|
|
{% endfor %} |
|
|
|
{% endfor %} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{% if course.teachers | length > 2 %} |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
{% endif %} |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="notifications"> |
|
|
|
|
|
|
|
{{ course.notifications }} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="notifications">{{ course.notifications }}</div> |
|
|
|
{% if item.student_info %} |
|
|
|
{% if item.student_info %} |
|
|
|
<div class="black-student"> |
|
|
|
<div class="black-student"> |
|
|
|
{% if (item.student_info.progress is not null) and (item.student_info.score is not null) %} |
|
|
|
{% if (item.student_info.progress is not null) and (item.student_info.score is not null) %} |
|
|
|
<div class="course-student-info"> |
|
|
|
<div class="course-student-info"> |
|
|
|
<div class="student-info"> |
|
|
|
<div class="student-info"> |
|
|
|
{% if (item.student_info.progress is not null) %} |
|
|
|
{% if (item.student_info.progress is not null) %} |
|
|
|
{{ "StudentCourseProgressX" | get_lang | format(item.student_info.progress) }} |
|
|
|
{{ "StudentCourseProgressX" | get_lang | format(item.student_info.progress) }} |
|
|
|
{% endif %} |
|
|
|
{% endif %} |
|
|
|
{% if (item.student_info.score is not null) %} |
|
|
|
{% if (item.student_info.score is not null) %} |
|
|
|
{{ "StudentCourseScoreX" | get_lang | format(item.student_info.score) }} |
|
|
|
{{ "StudentCourseScoreX" | get_lang | format(item.student_info.score) }} |
|
|
|
{% endif %} |
|
|
|
{% endif %} |
|
|
|
{% if (item.student_info.certificate is not null) %} |
|
|
|
{% if (item.student_info.certificate is not null) %} |
|
|
|
{{ "StudentCourseCertificateX" | get_lang | format(item.student_info.certificate) }} |
|
|
|
{{ "StudentCourseCertificateX" | get_lang | format(item.student_info.certificate) }} |
|
|
|
{% endif %} |
|
|
|
{% endif %} |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
{% endif %} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
{% endif %} |
|
|
|
{% endif %} |
|
|
|
</div> |
|
|
|
|
|
|
|
{% endif %} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|