2014-11-28 20:49:41 -05:00
|
|
|
SearchView = require 'views/common/SearchView'
|
2014-01-03 13:32:13 -05:00
|
|
|
|
2014-07-23 10:02:45 -04:00
|
|
|
module.exports = class LevelSearchView extends SearchView
|
2014-06-30 22:16:26 -04:00
|
|
|
id: 'editor-level-home-view'
|
2014-01-03 13:32:13 -05:00
|
|
|
modelLabel: 'Level'
|
|
|
|
model: require 'models/Level'
|
|
|
|
modelURL: '/db/level'
|
2014-04-05 20:05:03 -04:00
|
|
|
tableTemplate: require 'templates/editor/level/table'
|
2014-08-28 17:00:54 -04:00
|
|
|
page: 'level'
|
2014-05-28 11:29:36 -04:00
|
|
|
|
|
|
|
getRenderData: ->
|
|
|
|
context = super()
|
|
|
|
context.currentEditor = 'editor.level_title'
|
|
|
|
context.currentNew = 'editor.new_level_title'
|
|
|
|
context.currentNewSignup = 'editor.new_level_title_login'
|
|
|
|
context.currentSearch = 'editor.level_search_title'
|
|
|
|
@$el.i18n()
|
|
|
|
context
|