123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193 |
- <!-- view classic list special course -->
- <div class="classic-courses">
- {% for item in special_courses %}
- <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">
- {% if item.document == '' %}
- <a class="btn btn-default btn-sm" href="{{ item.edit_actions }}">
- <i class="fa fa-pencil" aria-hidden="true"></i>
- </a>
- {% else %}
- <div class="btn-group" role="group">
- <a class="btn btn-default btn-sm" href="{{ item.edit_actions }}">
- <i class="fa fa-pencil" aria-hidden="true"></i>
- </a>
- {{ item.document }}
- </div>
- {% endif %}
- </div>
- {% endif %}
- <h4 class="course-items-title">
- {% if item.visibility == constant('COURSE_VISIBILITY_CLOSED') %}
- {{ item.title }} {{ item.code_course }}
- {% else %}
- <a href="{{ item.link }}">
- {{ item.title }} {{ item.code_course }}
- </a>
- {{ item.notifications }}
- {{ 'klipper.png' | img(22, 'CourseAutoRegister'|get_lang ) }}
- {% 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>
- <!-- view classic list course -->
- <div class="classic-courses">
- <!-- courses in category -->
- {% for category in courses.in_category %}
- <div class="panel panel-default">
- <div id="category-{{ category.id_category }}" class="panel-heading">
- {{ category.title_category }}
- </div>
- <div class="panel-body">
- {% for item in category.courses %}
- <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">
- {% if item.document == '' %}
- <a class="btn btn-default btn-sm" href="{{ item.edit_actions }}">
- <i class="fa fa-pencil" aria-hidden="true"></i>
- </a>
- {% else %}
- <div class="btn-group" role="group">
- <a class="btn btn-default btn-sm" href="{{ item.edit_actions }}">
- <i class="fa fa-pencil" aria-hidden="true"></i>
- </a>
- {{ item.document }}
- </div>
- {% endif %}
- </div>
- {% endif %}
- <h4 class="course-items-title">
- {% if item.visibility == constant('COURSE_VISIBILITY_CLOSED') %}
- {{ item.title }} {{ item.code_course }}
- {% else %}
- <a href="{{ item.link }}">
- {{ item.title }} {{ item.code_course }}
- </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>
- {% endfor %}
- </div>
- </div>
- {% endfor %}
- <!-- end courses in category -->
- <!-- courses with out categories -->
- {% for item in courses.not_category %}
- <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">
- {% if item.document == '' %}
- <a class="btn btn-default btn-sm" href="{{ item.edit_actions }}">
- <i class="fa fa-pencil" aria-hidden="true"></i>
- </a>
- {% else %}
- <div class="btn-group" role="group">
- <a class="btn btn-default btn-sm" href="{{ item.edit_actions }}">
- <i class="fa fa-pencil" aria-hidden="true"></i>
- </a>
- {{ item.document }}
- </div>
- {% endif %}
- </div>
- {% endif %}
- <h4 class="course-items-title">
- {% if item.visibility == constant('COURSE_VISIBILITY_CLOSED') %}
- {{ item.title }} {{ item.code_course }}
- {% else %}
- <a href="{{ item.link }}">
- {{ item.title }} {{ item.code_course }}
- </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 %}
- <!-- end courses with out categories -->
- </div>
|