This takes care of generating the correct profile URL depending on the `profile_url_prefix` setting. Issue #192
7 lines
374 B
HTML
7 lines
374 B
HTML
<div class="instructor">
|
|
{{ widgets.Avatar(member=instructor, avatar_class="avatar-medium") }}
|
|
<a class="ml-1 instructor-title" href="{{get_profile_url(instructor.username)}}">{{ instructor.full_name }}</a>
|
|
<div class="instructor-subtitle">Course Creator</div>
|
|
<!-- <div class="instructor-subtitle">Created {{instructor.get_course_count()}} courses</div> -->
|
|
</div>
|