mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-27 17:45:40 -05:00
Exclude practice levels from teacher course guides
This commit is contained in:
parent
73698129a0
commit
1d70837309
1 changed files with 2 additions and 0 deletions
|
@ -57,6 +57,8 @@ block content
|
||||||
select.level-select.form-control
|
select.level-select.form-control
|
||||||
if view.campaigns.loaded
|
if view.campaigns.loaded
|
||||||
each level, levelIndex in view.campaigns.get(course.get('campaignID')).getLevels().models
|
each level, levelIndex in view.campaigns.get(course.get('campaignID')).getLevels().models
|
||||||
|
if level.get('type') === 'hero-practice'
|
||||||
|
- continue;
|
||||||
option(value=level.get('slug'))
|
option(value=level.get('slug'))
|
||||||
span
|
span
|
||||||
= levelIndex + 1
|
= levelIndex + 1
|
||||||
|
|
Loading…
Reference in a new issue