From 7a41855fdbd7b9fdbd51df235c4367de48533c1d Mon Sep 17 00:00:00 2001 From: Brian Talbot Date: Tue, 30 Jul 2013 14:00:58 -0400 Subject: [PATCH] Studio: adds logic to show add new user to team view --- cms/templates/manage_users.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cms/templates/manage_users.html b/cms/templates/manage_users.html index d522b5e8b9..6256d25333 100644 --- a/cms/templates/manage_users.html +++ b/cms/templates/manage_users.html @@ -121,7 +121,8 @@ % endfor - %if allow_actions: + <% 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')}

@@ -145,7 +146,6 @@

${_("Course team members are co-authors (staff). They have full access to all the content in the course and all the same editing privileges. Admins have the unique ability to add and remove course team members.")}

- <% user_is_instuctor = is_user_in_course_group_role(request.user, context_course.location, 'instructor', check_staff=False) %> % if user_is_instuctor and len(instructors) == 1:

${_("Tranferring Ownership")}