1 class Pettanr.View.Summary.Binder extends Pettanr.View.Summary
\r
3 initialize: (options) ->
\r
5 @visible_t = options.visible_t
\r
6 @visible_column_name = options.visible_column_name
\r
10 @visible = new Tag.Div({
\r
11 content: Pettanr.AppHelper.t_selected_item(@visible_t, @item.get(@visible_column_name))
\r
13 @item.get_parent('author', this, {
\r
14 success: (@author) =>
\r
15 @author_faced_label_button = @author.mini_faced_label_button({
\r
20 @trigger('http_get', @author.show_url())
\r
23 this.$el.append(@visible.render().el)
\r
24 this.$el.append(@author_faced_label_button.render().el)
\r