forked from OpenNeo/impress
Emi Matchu
19470f74d4
This helps us be more efficient with our use of space, keep the CTAs well aligned, show a clear total, and set up how we might do CTAs for more complex cases like all the potential Neopoint CTAs like Wiz/Trades/Auction/etc!
68 lines
2.3 KiB
Text
68 lines
2.3 KiB
Text
- title "Item Getting Guide"
|
|
%h1#title Item Getting Guide
|
|
|
|
- if @nc_mall_items.present?
|
|
%h2 NC Mall items
|
|
:markdown
|
|
These items are available in the NC Mall right now! You can buy them
|
|
with Neocash, a special currency you can [purchase directly][nc]
|
|
from Neopets or redeem via [gift cards][gc].
|
|
|
|
[nc]: https://secure.nc.neopets.com/get-neocash
|
|
[gc]: https://secure.nc.neopets.com/nickcash-cards
|
|
%table.item-list
|
|
%thead
|
|
%tr
|
|
%td
|
|
%th
|
|
Total: #{@nc_mall_items.map(&:current_nc_price).sum} NC
|
|
(#{pluralize @nc_mall_items.size, "item"})
|
|
|
|
%td.add-to-cart-cell
|
|
%button.add-to-cart{onclick: "alert('Todo!')"}
|
|
Buy all in NC Mall
|
|
%tbody
|
|
- @nc_mall_items.each do |item|
|
|
%tr
|
|
%td.thumbnail-cell= item_thumbnail_for(item)
|
|
%td= item.name
|
|
%td.add-to-cart-cell
|
|
%button.add-to-cart{onclick: "alert('Todo!')"}
|
|
Buy (#{item.current_nc_price} NC)
|
|
|
|
- if @np_items.present?
|
|
%h2 Neopoint items
|
|
:markdown
|
|
These items can be purchased with Neopoints. For less-expensive items,
|
|
check the [Shop Wizard][wiz] first. Otherwise, try the
|
|
[Trading Post][tp] or [Auction Genie][ag]. Dress to Impress doesn't
|
|
track Neopoint item prices, but other fansites do!
|
|
|
|
[wiz]: https://www.neopets.com/shops/wizard.phtml
|
|
[tp]: https://www.neopets.com/island/tradingpost.phtml?type=browse
|
|
[ag]: https://www.neopets.com/genie.phtml
|
|
= render @np_items
|
|
|
|
- if @pb_items.present?
|
|
%h2 Paintbrush items
|
|
:markdown
|
|
These items are part of a paintbrush set. Once you paint your pet,
|
|
these items will be semi-permanently added to your Closet, even if your
|
|
pet changes color again! You can use this to mix-and-match styles for
|
|
"cross-paint" outfits.
|
|
= render @pb_items
|
|
|
|
- if @other_nc_items.present?
|
|
%h2 Neocash items (Capsules, Dyeworks, events, retired, etc.)
|
|
:markdown
|
|
These items are part of the Neocash economy and can't be purchased with
|
|
Neopoints. We don't track all the details of how to get these items
|
|
right now! Sometimes they're available via packs or capsules or events
|
|
in the [NC Mall][mall]. Sometimes they're retired and can't be
|
|
purchased at all anymore, and can only be obtained via gifts or trades.
|
|
|
|
[mall]: https://ncmall.neopets.com/
|
|
= render @other_nc_items
|
|
|
|
- content_for :stylesheets do
|
|
= page_stylesheet_link_tag "items/sources"
|