Commit 4d454e30 by Braden MacDonald Committed by E. Kolpakov

Documentation updates from catong

parent 7303966c
...@@ -32,7 +32,7 @@ define(['jquery', 'underscore', 'gettext', 'js/views/feedback_prompt'], function ...@@ -32,7 +32,7 @@ define(['jquery', 'underscore', 'gettext', 'js/views/feedback_prompt'], function
msg = new PromptView.Warning({ msg = new PromptView.Warning({
title: gettext('Already a course team member'), title: gettext('Already a course team member'),
message: _.template( message: _.template(
gettext("{email} is already on the “{course}” team. If you're trying to add a new member, please double-check the email address you provided."), { gettext("{email} is already on the {course} team. Recheck the email address if you want to add a new member."), {
email: email, email: email,
course: course.escape('name') course: course.escape('name')
}, {interpolate: /\{(.+?)\}/g} }, {interpolate: /\{(.+?)\}/g}
......
...@@ -67,7 +67,7 @@ function($, _, gettext, PromptView, ViewUtils) { ...@@ -67,7 +67,7 @@ function($, _, gettext, PromptView, ViewUtils) {
msg = new PromptView.Warning({ msg = new PromptView.Warning({
title: gettext('Already a library team member'), title: gettext('Already a library team member'),
message: _.template( message: _.template(
gettext("{email} is already on the “{course}” team. If you're trying to add a new member, please double-check the email address you provided."), { gettext("{email} is already on the {course} team. Recheck the email address if you want to add a new member."), {
email: email, email: email,
course: libraryName course: libraryName
}, {interpolate: /\{(.+?)\}/g} }, {interpolate: /\{(.+?)\}/g}
......
...@@ -44,7 +44,7 @@ ...@@ -44,7 +44,7 @@
<li class="field text required create-user-email"> <li class="field text required create-user-email">
<label for="user-email-input">${_("User's Email Address")}</label> <label for="user-email-input">${_("User's Email Address")}</label>
<input id="user-email-input" class="user-email-input" name="user-email" type="text" placeholder="${_('example: username@domain.com')}" value=""> <input id="user-email-input" class="user-email-input" name="user-email" type="text" placeholder="${_('example: username@domain.com')}" value="">
<span class="tip tip-stacked">${_("Please provide the email address of the user you'd like to add")}</span> <span class="tip tip-stacked">${_("Provide the email address of the user you want to add")}</span>
</li> </li>
</ol> </ol>
</fieldset> </fieldset>
...@@ -99,7 +99,7 @@ ...@@ -99,7 +99,7 @@
</li> </li>
% else: % else:
<li class="action action-role"> <li class="action action-role">
<span class="admin-role notoggleforyou">${_("Promote another member to Admin to remove admin rights")}</span> <span class="admin-role notoggleforyou">${_("Promote another member to Admin to remove your admin rights")}</span>
</li> </li>
% endif % endif
% elif is_staff: % elif is_staff:
...@@ -133,7 +133,7 @@ ...@@ -133,7 +133,7 @@
<div class="msg"> <div class="msg">
<h3 class="title">${_('Add More Users to This Library')}</h3> <h3 class="title">${_('Add More Users to This Library')}</h3>
<div class="copy"> <div class="copy">
<p>${_('Adding team members makes content authoring collaborative. Users must be signed up for Studio and have an active account. ')}</p> <p>${_('Grant other members of your course team access to this library. New library users must have an active {studio_name} account.').format(studio_name=settings.STUDIO_SHORT_NAME)}</p>
</div> </div>
</div> </div>
...@@ -149,22 +149,11 @@ ...@@ -149,22 +149,11 @@
<aside class="content-supplementary" role="complimentary"> <aside class="content-supplementary" role="complimentary">
<div class="bit"> <div class="bit">
<h3 class="title-3">${_("Library Access Roles")}</h3> <h3 class="title-3">${_("Library Access Roles")}</h3>
<p>${_("Library staff are content co-authors. They have full writing and editing privileges on all content in the library.")}</p> <p>${_("There are three access roles for libraries: User, Staff, and Admin.")}</p>
<p>${_("Admins are library team members who can also add and remove other team members.")}</p> <p>${_("Users can view library content and can reference or use library components in their courses, but they cannot edit the contents of a library.")}</p>
<p>${_("Library users cannot edit content in the library, but can view the content and are able to reference or use library elements in their own courses.")}</p> <p>${_("Staff are content co-authors. They have full editing privileges on the contents of a library.")}</p>
<p>${_("Admins have full editing privileges and can also add and remove other team members. There must be at least one user with Admin privileges in a library.")}</p>
</div> </div>
<div class="bit">
<h3 class="title-3">${_("Organization-Wide Access")}</h3>
<p>${_("Users who have been granted admin, staff, or user access at the organization level may not be listed here but will still have access to this library.")}</p>
</div>
% if allow_actions:
<div class="bit">
<h3 class="title-3">${_("Transferring Ownership")}</h3>
<p>${_("Every library must have an Admin. If you're the Admin and you want transfer ownership of the library, click Add admin access to make another user the Admin, then ask that user to remove you from the library admin list.")}</p>
</div>
% endif
</aside> </aside>
</section> </section>
</div> </div>
......
...@@ -361,7 +361,7 @@ class LibraryUsersPageTest(StudioLibraryTest): ...@@ -361,7 +361,7 @@ class LibraryUsersPageTest(StudioLibraryTest):
self.assertFalse(user.can_demote) self.assertFalse(user.can_demote)
self.assertFalse(user.can_delete) self.assertFalse(user.can_delete)
self.assertTrue(user.has_no_change_warning) self.assertTrue(user.has_no_change_warning)
self.assertIn("Promote another member to Admin to remove admin rights", user.no_change_warning_text) self.assertIn("Promote another member to Admin to remove your admin rights", user.no_change_warning_text)
self.assertEqual(len(self.page.users), 1) self.assertEqual(len(self.page.users), 1)
user = self.page.users[0] user = self.page.users[0]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment