Add a lettuce test for course team admins granting admin status
This commit is contained in:
@@ -57,12 +57,14 @@
|
||||
|
||||
<ol class="user-list">
|
||||
% for user in staff:
|
||||
<li class="user-item" data-url="${reverse('course_team_user', kwargs=dict(
|
||||
org=context_course.location.org,
|
||||
course=context_course.location.course,
|
||||
name=context_course.location.name,
|
||||
email=user.email,
|
||||
))}">
|
||||
<% api_url = reverse('course_team_user', kwargs=dict(
|
||||
org=context_course.location.org,
|
||||
course=context_course.location.course,
|
||||
name=context_course.location.name,
|
||||
email=user.email,
|
||||
))
|
||||
%>
|
||||
<li class="user-item" data-email="${user.email}" data-url="${api_url}">
|
||||
|
||||
<% is_instuctor = is_user_in_course_group_role(user, context_course.location, 'instructor', check_staff=False) %>
|
||||
% if is_instuctor:
|
||||
|
||||
Reference in New Issue
Block a user