Can actually edit requiresSubscription on levels.

This commit is contained in:
Nick Winter 2014-12-03 15:50:34 -08:00
parent 0893784a75
commit 1f2408a99f
2 changed files with 2 additions and 2 deletions

View file

@ -251,7 +251,7 @@ _.extend LevelSchema.properties,
type: c.shortString(title: 'Type', description: 'What kind of level this is.', 'enum': ['campaign', 'ladder', 'ladder-tutorial', 'hero', 'hero-ladder', 'hero-coop'])
terrain: c.terrainString
showsGuide: c.shortString(title: 'Shows Guide', description: 'If the guide is shown at the beginning of the level.', 'enum': ['first-time', 'always'])
requiresSubscription: {title: 'Requires Subscription', description: 'Whether this level is available to subscribers only.'}
requiresSubscription: {title: 'Requires Subscription', description: 'Whether this level is available to subscribers only.', type: 'boolean'}
c.extendBasicProperties LevelSchema, 'level'
c.extendSearchableProperties LevelSchema

View file

@ -14,7 +14,7 @@ module.exports = class SettingsTabView extends CocoView
# not thangs or scripts or the backend stuff
editableSettings: [
'name', 'description', 'documentation', 'nextLevel', 'background', 'victory', 'i18n', 'icon', 'goals',
'type', 'terrain', 'showsGuide', 'banner', 'employerDescription', 'loadingTip'
'type', 'terrain', 'showsGuide', 'banner', 'employerDescription', 'loadingTip', 'requiresSubscription'
]
subscriptions: