mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-27 17:45:40 -05:00
Remove kinda broken enrollment stats (temporary)
This commit is contained in:
parent
beb53d9f2f
commit
c826543b40
1 changed files with 14 additions and 13 deletions
|
@ -51,18 +51,18 @@ mixin enrollmentStats
|
|||
span(data-i18n='teacher.credits_available')
|
||||
span.spr :
|
||||
= view.prepaids.totalAvailable()
|
||||
.small-details
|
||||
span(data-i18n='teacher.total_unique_students')
|
||||
span.spr :
|
||||
= view.members.length
|
||||
.small-details
|
||||
span(data-i18n='teacher.total_enrolled_students')
|
||||
span.spr :
|
||||
= view.prepaids.totalRedeemers()
|
||||
.small-details
|
||||
span(data-i18n='teacher.unenrolled_students')
|
||||
span.spr :
|
||||
= (view.members.length - view.prepaids.totalRedeemers())
|
||||
//- .small-details
|
||||
//- span(data-i18n='teacher.total_unique_students')
|
||||
//- span.spr :
|
||||
//- = view.members.length
|
||||
//- .small-details
|
||||
//- span(data-i18n='teacher.total_enrolled_students')
|
||||
//- span.spr :
|
||||
//- = view.prepaids.totalRedeemers()
|
||||
//- .small-details
|
||||
//- span(data-i18n='teacher.unenrolled_students')
|
||||
//- span.spr :
|
||||
//- = (view.members.length - view.prepaids.totalRedeemers())
|
||||
//- .enroll-students.btn.btn-lg.btn-navy
|
||||
//- | Enroll Students
|
||||
|
||||
|
@ -70,7 +70,8 @@ mixin addCredits
|
|||
.text-center
|
||||
h5(data-i18n='teacher.add_enrollment_credits')
|
||||
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
|
||||
if view.state === 'purchasing'
|
||||
.purchase-now.btn.btn-lg.btn-forest.disabled
|
||||
|
|
Loading…
Reference in a new issue