Update Student License requirement copy

This commit is contained in:
Robin Yang 2016-08-23 16:05:12 -07:00
parent bfa49cbbc6
commit c3b3c6ea2a
3 changed files with 26 additions and 38 deletions

View file

@ -1475,8 +1475,7 @@
all_students: "All Students"
apply_licenses: "Apply Licenses"
not_enough_enrollments: "Not enough licenses available."
enrollments_blurb_1: "Students taking Computer Science"
enrollments_blurb_2: "require a license to access the courses."
enrollments_blurb: "Students are required to have a license to access any content after the first course."
credits_available: "Licenses Available"
total_unique_students: "Total Students"
total_enrolled_students: "Enrolled Students"

View file

@ -38,11 +38,7 @@ block content
=' '
a#how-to-enroll-link(data-i18n="teacher.how_to_apply_licenses")
h3(data-i18n='teacher.enrollments')
h4#enrollments-blurb
span(data-i18n='teacher.enrollments_blurb_1')
span 2–#{view.state.get('totalCourses')}
span(data-i18n='teacher.enrollments_blurb_2')
h4#enrollments-blurb(data-i18n='teacher.enrollments_blurb')
- var available = view.state.get('prepaidGroups').available
- var pending = view.state.get('prepaidGroups').pending
- var anyPrepaids = available || pending

View file

@ -59,12 +59,6 @@ describe 'EnrollmentsView', ->
window.view = @view
@view.supermodel.once 'loaded-all', done
it 'shows how many courses there are which enrolled students will have access to', ->
expect(_.contains(@view.$('#enrollments-blurb').text(), '24')).toBe(true)
if @view.$('#actions-col').length isnt 1
fail('There should be an #action-col, other tests depend on it.')
describe '"Get Licenses" area', ->
describe 'when the teacher has made contact', ->
@ -89,4 +83,3 @@ describe 'EnrollmentsView', ->
it 'fills the void with the rest of the page content', ->
expect(@view.$('#actions-col').length).toBe(0)