name: 'no name'\r
} \r
\r
- name_view: (length = null) ->\r
- new Pettanr.Views.Author.Name({item: this, length: length})\r
- \r
- icon_with_caption_view: (half, column_name, length) ->\r
+ icon_with_caption_view: (half = true, column_name = 'name', length = 12) ->\r
new Pettanr.Views.Common.IconWithCaption({item: this, half: half, column_name: column_name, length: length})\r
\r
initialize: () ->\r
if @id\r
@url = @url + @id\r
\r
-class Pettanr.Author.Collection extends Backbone.Collection\r
- model: Pettanr.Author\r
- url: '/authors'\r