+ %if allow_actions: +
+
+
+

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

-
-

${_("The following list of users have been designated as course staff. This means that these users will have permissions to modify course content. You may add additional course staff below, if you are the course instructor. Please note that they must have already registered and verified their account.")}

-
+
+ ${_("New Team Member Information")} +
    +
  1. + + + ${_("Please provide the email address of the course staff member you'd like to add")} +
  2. +
+
+
+
+ + +
+
+
+ %endif -
- %if allow_actions: -
-
-
- - - +
    + % 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 -
-
    - % for user in staff: -
  1. - ${user.username} - ${user.email} - %if allow_actions : -
    - %if request_user_id != user.id: - - %endif -
    - %endif + +
+
+ %endif
-