2010-12-05 18:18:52 -08:00
|
|
|
- javascript_chain :jquery, :swfobject, 'items/show'
|
2010-05-15 17:46:41 -07:00
|
|
|
%header
|
|
|
|
= image_tag @item.thumbnail_url, :id => 'item-thumbnail'
|
2010-09-08 19:49:39 -07:00
|
|
|
%div
|
|
|
|
%h2#item-name= @item.name
|
|
|
|
= nc_icon_for(@item)
|
2010-11-27 15:41:06 -08:00
|
|
|
- unless @item.rarity.blank?
|
2010-09-08 19:49:39 -07:00
|
|
|
== Rarity: #{@item.rarity_index} (#{@item.rarity})
|
|
|
|
%a.button{:href => neoitems_url_for(@item)} NeoItems
|
2010-05-15 17:49:13 -07:00
|
|
|
|
|
|
|
%p= @item.description
|
2010-05-16 12:01:38 -07:00
|
|
|
|
2010-09-08 19:49:39 -07:00
|
|
|
#item-zones
|
|
|
|
%p
|
|
|
|
%strong Occupies:
|
|
|
|
= list_zones @item.occupied_zones, :uncertain_label
|
|
|
|
%p
|
|
|
|
%strong Restricts:
|
|
|
|
- if @item.restricted_zones.empty?
|
|
|
|
None
|
|
|
|
- else
|
|
|
|
= list_zones @item.restricted_zones
|
|
|
|
|
|
|
|
#item-preview-header
|
|
|
|
%h3 Preview
|
2010-11-15 12:40:34 -08:00
|
|
|
%a#customize-more.button{:href => '/'} Customize more
|
2010-05-16 12:01:38 -07:00
|
|
|
|
|
|
|
#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-06-08 16:18:59 -07:00
|
|
|
#item-preview-swf
|
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
|
2010-12-05 18:18:52 -08:00
|
|
|
var CURRENT_ITEM_ZONES_RESTRICT = #{@item.zones_restrict.inspect};
|