mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-08-05 03:52:14 +00:00
Added trasnparent class to seasonal items already owned
This commit is contained in:
parent
a1eb4bfa5b
commit
f5a0bd6903
1 changed files with 1 additions and 1 deletions
|
|
@ -32,7 +32,7 @@ script(type='text/ng-template', id='partials/options.inventory.seasonalshop.html
|
|||
p!=env.t('seasonalShopText')
|
||||
li.customize-menu.inventory-gear
|
||||
menu.pets-menu(label='{{::label}}', ng-repeat='(set,label) in {candycane:env.t("candycaneSet"), ski:env.t("skiSet"), snowflake:env.t("snowflakeSet"), yeti:env.t("yetiSet")}')
|
||||
div(ng-repeat='item in Content.gear.flat | toArray | where:{index:set}')
|
||||
div(ng-repeat='item in Content.gear.flat | toArray | where:{index:set}' ng-class="{transparent: user.items.gear.owned[item.key]}")
|
||||
button.customize-option(popover='{{::item.notes()}}', popover-title='{{::item.text()}}', popover-trigger='mouseenter', popover-placement='right', ng-click='purchase(item.type,item)', class='shop_{{::item.key}}')
|
||||
.center
|
||||
| {{((item.specialClass == "wizard") && (item.type == "weapon")) + 1}}
|
||||
|
|
|
|||
Loading…
Reference in a new issue