mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-27 17:45:40 -05:00
Show guides when users are a teacher OR own a classroom
This commit is contained in:
parent
c20ed58f9f
commit
cabca6366f
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ mixin course-info(course)
|
||||||
if course.get('concepts').indexOf(concept) !== course.get('concepts').length - 1
|
if course.get('concepts').indexOf(concept) !== course.get('concepts').length - 1
|
||||||
span.spr ,
|
span.spr ,
|
||||||
|
|
||||||
if me.isTeacher() && view.ownedClassrooms.size()
|
if me.isTeacher() || view.ownedClassrooms.size()
|
||||||
if view.guideLinks[course.id]
|
if view.guideLinks[course.id]
|
||||||
//- a.btn.btn-primary(href=view.guideLinks[course.id] class=(me.isAnonymous() ? 'disabled' : ''))
|
//- a.btn.btn-primary(href=view.guideLinks[course.id] class=(me.isAnonymous() ? 'disabled' : ''))
|
||||||
//- span(data-i18n="courses.print_guide")
|
//- span(data-i18n="courses.print_guide")
|
||||||
|
|
Loading…
Reference in a new issue