From 602c78c1be1ab8fc7f5b2a2290bc3aca799fe984 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Du=C5=A1an=20Jureti=C4=87?= Date: Mon, 23 Sep 2013 22:02:08 -0300 Subject: [PATCH] show egg and potion count in inventory --- views/options/inventory.jade | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/views/options/inventory.jade b/views/options/inventory.jade index 5cac718be3..e5718cfcaa 100644 --- a/views/options/inventory.jade +++ b/views/options/inventory.jade @@ -2,13 +2,13 @@ div(ng-class='{span6: hatching}') menu.inventory-list(type='list') li.customize-menu - menu.pets-menu(label='Eggs') + menu.pets-menu(label='Eggs ({{userEggs.length}})') p(ng-show='userEggs.length < 1') You don't have any eggs yet. div(ng-repeat='egg in userEggs track by $index') button.customize-option(tooltip='{{egg.text}}', ng-click='chooseEgg(egg)', class='Pet_Egg_{{egg.name}}') p {{egg.text}} li.customize-menu - menu.hatchingPotion-menu(label='Hatching Potions') + menu.hatchingPotion-menu(label='Hatching Potions ({{userHatchingPotions.length}})') p(ng-show='userHatchingPotions.length < 1') You don't have any hatching potions yet. div(ng-repeat='hatchingPotion in userHatchingPotions track by $index') button.customize-option(tooltip='{{hatchingPotion}}', class='Pet_HatchingPotion_{{hatchingPotion}}')