id: null\r
} \r
\r
- license_group: () ->\r
- new Pettanr.Cache.Retriever(Pettanr.LicenseGroup, @get('license_group_id'))\r
- \r
- system_picture: () ->\r
- new Pettanr.Cache.Retriever(Pettanr.SystemPicture, @get('system_picture_id'))\r
- \r
- symbol_option: () ->\r
- retriever = @system_picture()\r
- @listenTo(retriever, 'retrieve', @retrieve_symbol)\r
- retriever.retrieve()\r
- \r
- retrieve_symbol: (item) -> \r
- @trigger('ready:symbol', item.tmb_opt_img_tag())\r
- \r
- caption_with_group: () ->\r
- retriever = @license_group()\r
- @listenTo(retriever, 'retrieve', @retrieve_license_group)\r
- retriever.retrieve()\r
- \r
- retrieve_license_group: (license_group) -> \r
- caption = license_group.escape('caption') + '/' + @escape('caption')\r
- @trigger('ready:caption', caption)\r
+ @trace_routes: () ->\r
+ {\r
+ symbol: ['system_picture']\r
+ }\r
+ \r
+ caption_with_group: (context, options) ->\r
+ @get_parent('license_group', this, {\r
+ success: (license_group) => \r
+ caption = license_group.escape('caption') + '/' + @escape('caption')\r
+ options.success.call(context, caption)\r
+ })\r
\r
is_own: () ->\r
true\r