Merge pull request #4352 from crookedneighbor/show-gem-purchases-with-customer-id

Converted planId to customerId as test for whether or not gems can be purchased.
This commit is contained in:
Tyler Renelle 2014-12-05 14:56:41 -07:00
commit 7ab5456c2a

View file

@ -197,7 +197,7 @@ script(type='text/ng-template', id='partials/options.inventory.drops.html')
p
| 4
span.Pet_Currency_Gem1x.inline-gems
div(ng-if='user.purchased.plan.planId')
div(ng-if='user.purchased.plan.customerId')
button.customize-option(popover=env.t('subGemPop'), popover-title=env.t('subGemName'), popover-trigger='mouseenter', popover-placement='top',ng-click='user.ops.purchase({params:{type:"gems",key:"gem"}})')
span.Pet_Currency_Gem.inline-gems
.badge.badge-success.stack-count {{Shared.planGemLimits.convCap + User.user.purchased.plan.consecutive.gemCapExtra - User.user.purchased.plan.gemsBought}}