From 0f3da297f67d6d7ad1ba42cfab0535bc2494724a Mon Sep 17 00:00:00 2001 From: Carol Tong Date: Mon, 4 Jan 2016 10:09:07 -0500 Subject: [PATCH] Fix help targets in Instructor Dashboard --- .../acceptance/tests/discussion/test_cohort_management.py | 4 ++-- lms/static/js/spec/groups/views/cohorts_spec.js | 5 +++-- .../instructor_dashboard_2/cohort-group-header.underscore | 8 ++++---- 3 files changed, 9 insertions(+), 8 deletions(-) diff --git a/common/test/acceptance/tests/discussion/test_cohort_management.py b/common/test/acceptance/tests/discussion/test_cohort_management.py index 2ee4f62fe0..8c7d6a9aee 100644 --- a/common/test/acceptance/tests/discussion/test_cohort_management.py +++ b/common/test/acceptance/tests/discussion/test_cohort_management.py @@ -88,12 +88,12 @@ class CohortConfigurationTest(EventsTestMixin, UniqueCourseTest, CohortTestMixin """ self.verify_cohort_description( self.manual_cohort_name, - 'Students are added to this cohort only when you provide ' + 'Learners are added to this cohort only when you provide ' 'their email addresses or usernames on this page', ) self.verify_cohort_description( self.auto_cohort_name, - 'Students are added to this cohort automatically', + 'Learners are added to this cohort automatically', ) def test_no_content_groups(self): diff --git a/lms/static/js/spec/groups/views/cohorts_spec.js b/lms/static/js/spec/groups/views/cohorts_spec.js index c93919b38e..1d52565342 100644 --- a/lms/static/js/spec/groups/views/cohorts_spec.js +++ b/lms/static/js/spec/groups/views/cohorts_spec.js @@ -240,8 +240,9 @@ define(['backbone', 'jquery', 'common/js/spec_helpers/ajax_helpers', 'common/js/ ) ); assignmentType = assignmentType || MOCK_MANUAL_ASSIGNMENT; - var manualMessage = "Students are added to this cohort only when you provide their email addresses or usernames on this page."; - var randomMessage = "Students are added to this cohort automatically."; + var manualMessage = "Learners are added to this cohort only when you provide their email addresses " + + "or usernames on this page."; + var randomMessage = "Learners are added to this cohort automatically."; var message = (assignmentType == MOCK_MANUAL_ASSIGNMENT) ? manualMessage : randomMessage; expect(header.find('.cohort-management-group-setup .setup-value').text().trim().split('\n')[0]).toBe(message); }; diff --git a/lms/templates/instructor/instructor_dashboard_2/cohort-group-header.underscore b/lms/templates/instructor/instructor_dashboard_2/cohort-group-header.underscore index b5e441859e..8ae1633637 100644 --- a/lms/templates/instructor/instructor_dashboard_2/cohort-group-header.underscore +++ b/lms/templates/instructor/instructor_dashboard_2/cohort-group-header.underscore @@ -11,11 +11,11 @@
<% if (cohort.get('assignment_type') == "manual") { %> - <%- gettext("Students are added to this cohort only when you provide their email addresses or usernames on this page.") %> - <%= gettext("What does this mean?") %> + <%- gettext("Learners are added to this cohort only when you provide their email addresses or usernames on this page.") %> + <%= gettext("What does this mean?") %> <% } else { %> - <%- gettext("Students are added to this cohort automatically.") %> - <%- gettext("What does this mean?") %> + <%- gettext("Learners are added to this cohort automatically.") %> + <%- gettext("What does this mean?") %> <% } %>