X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=app%2Fassets%2Fjavascripts%2Fviews%2Fpanels%2Fsummary.js.coffee;h=c844cf42fdd101ade95be2844176ccfc005932ce;hb=87c9866f541c4c7be4c136f2034d2fecbab787a8;hp=df7060053ec38738d56d27e7e570d482ce740281;hpb=d2a17869f5a5fb9a33ddad29887c8f03a129c407;p=pettanr%2Fpettanr.git diff --git a/app/assets/javascripts/views/panels/summary.js.coffee b/app/assets/javascripts/views/panels/summary.js.coffee index df706005..c844cf42 100644 --- a/app/assets/javascripts/views/panels/summary.js.coffee +++ b/app/assets/javascripts/views/panels/summary.js.coffee @@ -14,14 +14,16 @@ class Pettanr.Views.Panel.Summary extends Pettanr.View.Summary @visible = new Tag.Div({ content: Pettanr.AppHelper.t_selected_item(@visible_t, @item.get(@visible_column_name)) }) - @author_mini_faced_label = @author.mini_faced_label({ - context: @context, - click: () => - @trigger('http_get', @author.show_url()) + @author_faced_label_button = @author.mini_faced_label_button({ + shorten: true + }, { + context: @context, + click: () => + @trigger('http_get', @author.show_url()) }) this.$el.html('') this.$el.append(@visible.render().el) - this.$el.append(@author_mini_faced_label.render().el) + this.$el.append(@author_faced_label_button.render().el) }) this