Add "Permanent" label to permanent Dyeworks items in Item Getting Guide

This commit is contained in:
Emi Matchu 2024-06-09 15:21:42 -07:00
parent a3f910b7ce
commit 9bc6be05f8
2 changed files with 16 additions and 3 deletions

View file

@ -67,6 +67,12 @@
text-decoration-style: dotted
cursor: help
.dyeworks-timeframe
font-style: italic
text-decoration-line: underline
text-decoration-style: dotted
cursor: help
.special-color-explanation
text-wrap: balance
font-style: italic

View file

@ -67,9 +67,16 @@
- base_item = item.dyeworks_base_item
- content_for :subtitle, flush: true do
%span.dyeworks-explanation
= link_to base_item.name, base_item, target: "_blank"
+ 1 potion
= link_to base_item.name, base_item, target: "_blank"
+ 1 potion
- if item.dyeworks_permanent?
%span.dyeworks-timeframe{
title: "This recipe is NOT currently scheduled to be removed " +
"from Dyeworks. It might not stay forever, but it's also " +
"not part of a known limited-time event, like most " +
"Dyeworks items are."
}
(Permanent)
%button{onclick: "alert('Todo!')"}
= cart_icon alt: ""