Add links to ~lebron petpage

This commit is contained in:
Emi Matchu 2025-06-27 17:32:16 -07:00
parent 8eebc96b00
commit 234c866e28
2 changed files with 4 additions and 5 deletions

View file

@ -33,9 +33,8 @@
= link_to t('items.show.resources.jn_items'), jn_items_url_for(item)
= link_to t('items.show.resources.impress_2020'), impress_2020_url_for(item)
- if item.nc_trade_value
%span{
title: nc_trade_value_updated_at_text(item.nc_trade_value)
}
= link_to 'https://www.neopets.com/~lebron',
title: nc_trade_value_updated_at_text(item.nc_trade_value) do
= t 'items.show.resources.lebron',
value: nc_trade_value_estimate_text(item.nc_trade_value)
- unless item.nc?

View file

@ -225,14 +225,14 @@
- content_for :subtitle, flush: true do
- if item.nc_trade_value.present?
- if nc_trade_value_is_estimate(item.nc_trade_value)
= content_tag :span,
= link_to 'https://www.neopets.com/~lebron', target: '_blank',
class: "nc-trade-guide-info-link",
title: 'Lebron keeps track of approximate "capsule" values of NC items for trading. Items with similar values can often be traded for one another. This is an estimate, not a rule!' do
%span.nc-trade-guide-info-label [Lebron]
Estimated value:
= nc_trade_value_estimate_text(item.nc_trade_value)
- else
= content_tag :span,
= link_to 'https://www.neopets.com/~lebron', target: '_blank',
class: "nc-trade-guide-info-link",
title: "Lebron keeps track of how to get certain special items, even when there isn't a clear NC trade estimate." do
%span.nc-trade-guide-info-label [Lebron]