diff --git a/app/assets/stylesheets/items/sources.sass b/app/assets/stylesheets/items/sources.sass index 8818ec82..13e6fcf6 100644 --- a/app/assets/stylesheets/items/sources.sass +++ b/app/assets/stylesheets/items/sources.sass @@ -84,14 +84,12 @@ a color: inherit - a[title] + .owls-info-link + .owls-info-label text-decoration-line: underline text-decoration-style: dotted cursor: help - &:hover, &:focus - text-decoration-style: solid - /* For wearable items that belong to a specific set that all come together, * like a Paint Brush. */ &[data-group-type="bundle"] diff --git a/app/views/items/sources.html.haml b/app/views/items/sources.html.haml index 4751ca28..90a6b3a8 100644 --- a/app/views/items/sources.html.haml +++ b/app/views/items/sources.html.haml @@ -174,9 +174,11 @@ = render "item_list_row", item: do - content_for :subtitle, flush: true do - if item.nc_trade_value.present? - = link_to "Owls listing: #{item.nc_trade_value.value_text}", - "https://www.neopets.com/~owls", target: "_blank", - title: 'Owls 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!' + = link_to "https://www.neopets.com/~owls", + class: "owls-info-link", target: "_blank", + title: 'Owls 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.owls-info-label Owls listing: + #{item.nc_trade_value.value_text} = button_link_to "NC Trades", item_trades_path(item, type: "offering"),