2010-05-15 17:46:41 -07:00
|
|
|
%header
|
|
|
|
= image_tag @item.thumbnail_url, :id => 'item-thumbnail'
|
|
|
|
%h2#item-name= @item.name
|
2010-05-15 17:49:13 -07:00
|
|
|
|
|
|
|
%p= @item.description
|
2010-05-16 12:01:38 -07:00
|
|
|
|
|
|
|
%h3 Preview
|
|
|
|
|
|
|
|
#item-preview
|
2010-05-16 13:15:21 -07:00
|
|
|
#item-preview-species= standard_species_images(@item.supported_species)
|
2010-05-31 12:45:03 -07:00
|
|
|
#item-preview-error
|
2010-05-16 17:45:30 -07:00
|
|
|
#item-preview-swf{'data-impress-host' => RemoteImpressHost}
|
2010-05-16 12:01:38 -07:00
|
|
|
Javascript and Flash are required to preview wearables. Sorry!
|
|
|
|
|
2010-06-07 16:50:49 -07:00
|
|
|
:javascript
|
|
|
|
var CURRENT_ITEM_ZONES_RESTRICT = #{@item.zones_restrict.inspect};
|
|
|
|
|
2010-05-16 12:01:38 -07:00
|
|
|
- content_for :javascripts do
|
|
|
|
= javascript_include_tag 'http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js',
|
|
|
|
'http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js',
|
|
|
|
'items/show'
|