class Pettanr.SystemPicturesController extends Pettanr.AppController\r
\r
index: () ->\r
+ @trigger('title', @params)\r
@filer_list()\r
- \r
- show_html: () -> \r
+ @trigger('done', @params)\r
\r
show: () ->\r
- @set_show()\r
+ @set_show(@render_show)\r
+ \r
+ render_show: () -> \r
switch @params['format']\r
when 'prof'\r
@show_prof()\r
when 'html'\r
@show_html()\r
\r
- count: () ->\r
- \r
- create: () ->\r
+ show_html: () -> \r
+ @trigger('title', @params)\r
+ show = new Pettanr.Views.SystemPicture.Show({\r
+ item: @item,\r
+ operators: @operators\r
+ })\r
+ show.render()\r
+ @trigger('ready', show)\r
+ @trigger('done', @params)\r
\r
- update: () ->\r
+ count: () ->\r
\r
- destroy: () ->\r
- \r