fix: photo from user

This commit is contained in:
pateljannat
2021-05-07 17:14:33 +05:30
parent b3c67a3f34
commit 5edceb2562
3 changed files with 6 additions and 5 deletions

View File

@@ -46,9 +46,7 @@
{% for m in batch.get_mentors() %}
<div>
{% if m.photo_url %}
<img class="profile-photo" src="{{m.photo_url}}">
{% endif %}
{{ widgets.Avatar(member=m, avatar_class="avatar-medium" ) }}
<span class="instructor-title">{{m.full_name}}</span>
</div>
{% endfor %}