class Pettanr.PanelPicturesController extends Pettanr.AppController\r
\r
index: () ->\r
+ @redraw_title(@params)\r
@filer_list()\r
\r
+ by_author: () ->\r
+ @redraw_title(@params)\r
+ @filer_list()\r
+ \r
+ by_panel: () ->\r
+ @redraw_title(@params)\r
+ @filer_list()\r
+ \r
+ show_html: () -> \r
+ _this = this\r
+ @item.fetch({cache: true}).done ->\r
+ _this.redraw_title(_this.params, _this.item.get('caption'))\r
+ view = new Pettanr.Views.PanelPicture.Show({\r
+ el: "#pettanr",\r
+ item: _this.item,\r
+ operators: _this.operators\r
+ })\r
+ #view.render()\r
+ \r
+ show: () ->\r
+ @set_show()\r
+ switch @params['format']\r
+ when 'prof'\r
+ @show_prof()\r
+ when 'html'\r
+ @show_html()\r
+ \r
+ count: () ->\r
+ \r
+ new: () ->\r
+ \r
+ edit: () ->\r
+ \r
+ create: () ->\r
+ \r
+ update: () ->\r
+ \r
+ destroy: () ->\r
+ \r