Remove kinda broken enrollment stats (temporary)

This commit is contained in:
phoenixeliot 2016-04-04 16:09:58 -07:00
parent beb53d9f2f
commit c826543b40

View file

@ -51,18 +51,18 @@ mixin enrollmentStats
span(data-i18n='teacher.credits_available') span(data-i18n='teacher.credits_available')
span.spr : span.spr :
= view.prepaids.totalAvailable() = view.prepaids.totalAvailable()
.small-details //- .small-details
span(data-i18n='teacher.total_unique_students') //- span(data-i18n='teacher.total_unique_students')
span.spr : //- span.spr :
= view.members.length //- = view.members.length
.small-details //- .small-details
span(data-i18n='teacher.total_enrolled_students') //- span(data-i18n='teacher.total_enrolled_students')
span.spr : //- span.spr :
= view.prepaids.totalRedeemers() //- = view.prepaids.totalRedeemers()
.small-details //- .small-details
span(data-i18n='teacher.unenrolled_students') //- span(data-i18n='teacher.unenrolled_students')
span.spr : //- span.spr :
= (view.members.length - view.prepaids.totalRedeemers()) //- = (view.members.length - view.prepaids.totalRedeemers())
//- .enroll-students.btn.btn-lg.btn-navy //- .enroll-students.btn.btn-lg.btn-navy
//- | Enroll Students //- | Enroll Students
@ -70,7 +70,8 @@ mixin addCredits
.text-center .text-center
h5(data-i18n='teacher.add_enrollment_credits') h5(data-i18n='teacher.add_enrollment_credits')
div.m-t-1 div.m-t-1
input#students-input.text-center.enrollment-count(value=view.numberOfStudents type='number') //- input#students-input.text-center.enrollment-count(value=view.numberOfStudents type='number')
input#students-input.text-center.enrollment-count(value=15 type='number')
div.m-t-1 div.m-t-1
if view.state === 'purchasing' if view.state === 'purchasing'
.purchase-now.btn.btn-lg.btn-forest.disabled .purchase-now.btn.btn-lg.btn-forest.disabled