mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-23 23:58:02 -05:00
Make unused enrollments section hidden for anonymous users in TeacherCoursesView
This commit is contained in:
parent
ed478e7c5e
commit
a573f49c98
1 changed files with 5 additions and 4 deletions
|
@ -55,10 +55,11 @@ block content
|
|||
br
|
||||
.section-header Available Courses
|
||||
|
||||
p.text-center
|
||||
strong.spr Unused enrollments available:
|
||||
strong.spr= view.prepaids.totalAvailable()
|
||||
a.btn.btn-success.btn(href="/courses/purchase") Purchase Enrollments
|
||||
if !me.isAnonymous()
|
||||
p.text-center
|
||||
strong.spr Unused enrollments available:
|
||||
strong.spr= view.prepaids.totalAvailable()
|
||||
a.btn.btn-success.btn(href="/courses/purchase") Purchase Enrollments
|
||||
|
||||
p
|
||||
| All students get access to Introduction to Computer Science for free.
|
||||
|
|
Loading…
Reference in a new issue