feat(quests): add canBuy so we can exclude certain items from the

market (if you can only find them on quest-drop, etc). This isn't the
prettiest, change?
This commit is contained in:
Tyler Renelle 2014-01-21 14:44:53 -08:00
parent e48c7277f8
commit f16654d235

View file

@ -89,7 +89,7 @@ script(type='text/ng-template', id='partials/options.inventory.drops.html')
menu.inventory-list(type='list')
li.customize-menu
menu.pets-menu(label='Eggs')
div(ng-repeat='egg in Content.eggs')
div(ng-repeat='egg in Content.eggs', ng-if='egg.canBuy')
button.customize-option(popover='{{egg.notes}}', popover-title='{{egg.text}} Egg', popover-trigger='mouseenter', popover-placement='left', ng-click='purchase("eggs", egg)', class='Pet_Egg_{{egg.key}}')
p
| {{egg.value}}