diff --git a/school/www/cohorts/subgroup.html b/school/www/cohorts/subgroup.html index 08c511fc..2699296f 100644 --- a/school/www/cohorts/subgroup.html +++ b/school/www/cohorts/subgroup.html @@ -31,12 +31,11 @@
Mentors
{% set mentors = subgroup.get_mentors() %} {% if mentors %} +
{% for m in mentors %} -
- {{ widgets.Avatar(member=m, avatar_class="avatar-small") }} - {{ m.full_name }} -
+ {{ widgets.MemberCard(member=m, show_course_count=False, dimension_class="") }} {% endfor %} +
{% else %} None found. {% endif %} @@ -46,12 +45,11 @@ {% macro render_students() %} {% set students = subgroup.get_students() %} {% if students %} +
{% for student in students %} -
- {{ widgets.Avatar(member=student, avatar_class="avatar-small") }} - {{ student.full_name }} -
+ {{ widgets.MemberCard(member=student, show_course_count=False, dimension_class="") }} {% endfor %} +
{% else %} None found. {% endif %}