Correct course team admin badging logic
This commit is contained in:
@@ -68,7 +68,7 @@
|
||||
))}">
|
||||
|
||||
<% is_instuctor = is_user_in_course_group_role(user, context_course.location, 'instructor', check_staff=False) %>
|
||||
% if is_instuctor and len(instructors) == 1:
|
||||
% if is_instuctor:
|
||||
<span class="wrapper-ui-badge">
|
||||
<span class="flag flag-role flag-role-admin is-hanging">
|
||||
<span class="label sr">${_("Current Role:")}</span>
|
||||
|
||||
Reference in New Issue
Block a user