%if allow_actions: -
-
-
- - - -
-
- %endif -
-
    - % for user in staff: -
  1. - ${user.username} - ${user.email} - %if allow_actions : -
    - %if request_user_id != user.id: - - %endif -
    - %endif -
  2. - % endfor -
+
+
+
+

${_("Add a User to Your Course's Team")}

+ +
+ ${_("New Team Member Information")} +
    +
  1. + + + ${_("Please provide the email address of the course staff member you'd like to add")} +
  2. +
+
+
+
+ + +
+
+ %endif + +
    + % for user in staff: + <% 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, + )) + %> +
  1. + + <% is_instuctor = is_user_in_course_group_role(user, context_course.location, 'instructor', check_staff=False) %> + % if is_instuctor: + + + ${_("Current Role:")} + + ${_("Admin")} + % if request.user.id == user.id: + ${_("You!")} + % endif + + + + % else: + + + ${_("Current Role:")} + + ${_("Staff")} + % if request.user.id == user.id: + ${_("You!")} + % endif + + + + % endif + + + + % if allow_actions: + + % endif + +
  2. + % endfor +
+ + <% user_is_instuctor = is_user_in_course_group_role(request.user, context_course.location, 'instructor', check_staff=False) %> + % if user_is_instuctor and len(staff) == 1: +
+
+

${_('Add Team Members to This Course')}

+
+

${_('Adding team members makes course authoring collaborative. Users must be signed up for Studio and have an active account. ')}

+
+
+ + +
+ %endif