1 class Pettanr.Views.Scroll.Summary extends Backbone.View
\r
3 initialize: (options) ->
\r
5 @visible = new Tag.Div({
\r
6 content: Pettanr.AppHelper.t_selected_item('scroll_visible_items', @item.get('visible'))
\r
9 @author = @item.author()
\r
10 @author.fetch().done ->
\r
11 _this.author_icon = _this.author.icon_view(true)
\r
12 _this.author_name = _this.author.name_view(12)
\r
17 this.$el.append(@visible.render().el)
\r
19 this.$el.append(@author_icon.render().el)
\r
20 this.$el.append(@author_name.render().el)
\r