impress/app/views/items/_item_header.haml
Emi Matchu c6927c2ce8 Add basic styles to trades page
Still not accessible via links, just exists!
2024-01-21 03:38:02 -08:00

17 lines
910 B
Text

%header.item-header
= image_tag item.thumbnail_url, id: 'item-thumbnail'
%h2#item-name= item.name
%nav#item-links
= nc_icon_for(item)
- unless item.rarity.blank?
== #{t 'items.show.rarity'}: #{item.rarity_index} (#{item.rarity})
= link_to t('items.show.resources.jn_items'), jn_items_url_for(item)
- if item.nc_trade_value
= link_to t('items.show.resources.owls', value: item.nc_trade_value.value_text),
"https://www.neopets.com/~owls",
title: nc_trade_value_updated_at_text(item.nc_trade_value)
- unless item.nc?
= link_to t('items.show.resources.shop_wizard'), shop_wizard_url_for(item)
= link_to t('items.show.resources.super_shop_wizard'), super_shop_wizard_url_for(item)
= link_to t('items.show.resources.trading_post'), trading_post_url_for(item)
= link_to t('items.show.resources.auction_genie'), auction_genie_url_for(item)