1 class Pettanr.View.Summary.Binder extends Pettanr.View
\r
3 initialize: (options) ->
\r
6 @visible_t = options.visible_t
\r
7 @visible_column_name = options.visible_column_name
\r
11 @visible = new Tag.Div({
\r
12 content: Pettanr.AppHelper.t_selected_item(@visible_t, @item.get(@visible_column_name))
\r
14 @item.get_parent('author', this, {
\r
15 success: (@author) =>
\r
16 @author_mini_faced_label = @author.mini_faced_label({
\r
19 @trigger('http_get', @author.show_url())
\r
21 this.$el.append(@author_mini_faced_label.render().el)
\r
27 this.$el.append(@visible.render().el)
\r
28 this.$el.append(@author_mini_faced_label.render().el)
\r
32 @trigger('http_get', @author_icon_with_caption.url())
\r