- {% for mentor in mentors %}
+ {% for mentor in top_mentors %}
{% include "weallcode/snippets/team_member.html" with is_small=True name=mentor.full_name label=mentor.session_count image=mentor.avatar sublabel="classes" %}
{% endfor %}
+
+
+ {% for mentor in other_mentors %}
+
+ {% include "weallcode/snippets/team_member.html" with is_small=True name=mentor.full_name label=mentor.session_count image=mentor.avatar sublabel="classes" %}
+
+ {% endfor %}
+
+
+ {% if other_mentors %}
+
+
+
+ {% endif %}
-
-
-
@@ -220,16 +231,18 @@
Volunteering for a better tomorrow
{% for volunteer in top_volunteers %}
- {% include "weallcode/snippets/team_member.html" with is_small=True name=volunteer.full_name image=volunteer.avatar %}
+ {% include "weallcode/snippets/team_member.html" with is_small=True name=volunteer.full_name label=volunteer.session_count image=volunteer.avatar sublabel="classes" %}
{% endfor %}
{% for volunteer in other_volunteers %}
+ {% if volunteer.session_count %}
- {% include "weallcode/snippets/team_member.html" with is_small=True name=volunteer.full_name image=volunteer.avatar %}
+ {% include "weallcode/snippets/team_member.html" with is_small=True name=volunteer.full_name label=volunteer.session_count image=volunteer.avatar sublabel="classes" %}