Make deprecated plans show the cancel button

This commit is contained in:
Joseph Schorr 2013-12-23 16:43:45 -05:00
parent cb96998916
commit b5f1723adc

View file

@ -40,7 +40,10 @@
<td class="controls">
<div ng-switch='plan.deprecated'>
<div ng-switch-when='true'>
<b>Existing Plan</b>
<button class="btn btn-danger" ng-click="cancelSubscription()">
<span class="quay-spinner" ng-show="planChanging"></span>
<span ng-show="!planChanging">Cancel</span>
</button>
</div>
<div ng-switch-default>
<button class="btn" ng-show="subscribedPlan.stripeId !== plan.stripeId"