mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-08-05 03:52:14 +00:00
Add muted class when no food is in inventory
This commit is contained in:
parent
a1eb4bfa5b
commit
db6f52e4b5
1 changed files with 1 additions and 1 deletions
|
|
@ -108,7 +108,7 @@ script(type='text/ng-template', id='partials/options.inventory.drops.html')
|
|||
|
||||
li.customize-menu
|
||||
menu.pets-menu(label=env.t('food') + ' ({{foodCount}})')
|
||||
p(ng-show='foodCount < 1')=env.t('noFood')
|
||||
p.muted(ng-show='foodCount < 1')=env.t('noFood')
|
||||
div(ng-repeat='(food,points) in ownedItems(user.items.food)')
|
||||
button.customize-option(popover='{{::Content.food[food].notes()}}', popover-title='{{::Content.food[food].text()}}', popover-trigger='mouseenter', popover-placement='right', ng-click='chooseFood(food)', class='Pet_Food_{{::food}}')
|
||||
.badge.badge-info.stack-count {{points}}
|
||||
|
|
|
|||
Loading…
Reference in a new issue