1
0
Fork 0
forked from OpenNeo/impress

Add Lebron links when there is no known trade value

because the new site has useful trade info anyway!
This commit is contained in:
Emi Matchu 2025-12-27 19:24:09 -08:00
parent aac3e5a5a9
commit 23e951edcd
2 changed files with 6 additions and 2 deletions

View file

@ -35,8 +35,11 @@
- if item.nc_trade_value
= link_to lebron_url_for(item),
title: nc_trade_value_updated_at_text(item.nc_trade_value) do
= t 'items.show.resources.lebron',
= t 'items.show.resources.lebron_value',
value: nc_trade_value_estimate_text(item.nc_trade_value)
- elsif item.nc?
= link_to lebron_url_for(item) do
= t 'items.show.resources.lebron'
- unless item.nc?
= link_to t('items.show.resources.shop_wizard'), shop_wizard_url_for(item)
= link_to t('items.show.resources.trading_post'), trading_post_url_for(item)

View file

@ -310,7 +310,8 @@ en:
resources:
jn_items: JN Items
impress_2020: DTI 2020
lebron: "Lebron: %{value}"
lebron: Lebron
lebron_value: "Lebron: %{value}"
shop_wizard: Shop Wizard
trading_post: Trades
auction_genie: Auctions