1 class Pettanr.Sheet extends Peta.Root
\r
15 overwrite: (options) ->
\r
16 operators = Pettanr.cache.operators
\r
17 return false if not operators.author
\r
18 @set('author_id', operators.author.id)
\r
20 is_visible: (operators = Pettanr.cache.operators) ->
\r
21 switch super(operators)
\r
29 label: (shorten_length) ->
\r
30 @_label('title', shorten_length)
\r
32 # item is root, but binder like
\r
34 Pettanr.url(@table_name(), 'play', {id: @get('id')})
\r
36 initialize: (attr = {}, options = {}) ->
\r
37 super(attr, options)
\r