Exclude practice levels from teacher course guides

This commit is contained in:
Matt Lott 2016-06-21 21:10:59 -07:00
parent 73698129a0
commit 1d70837309

View file

@ -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