{% if not students is empty %}
<div class="panel panel-default">
  <div class="panel-heading">
    <h3 class="panel-title">{{ 'course.newest_students.content_title'|trans }}</h3>
  </div>
  <div class="panel-body">
    <ul class="user-avatar-list clearfix">
      {% for student in students %}
        <li>
          <a class=" js-user-card" href="{{ path('user_show', {'id': student.id}) }}" data-card-url="{{ path('user_card_show', {userId: student.id}) }}"
            data-user-id="{{ student.id }}" data-original-title="" title="">
            <img class="avatar-sm" src="{{ filepath(student.smallAvatar, 'avatar.png') }}">
          </a>
        </li>
      {% endfor %}
    </ul>
  </div>
</div>
{% endif %}
