Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Next: November Improvements #1760

Merged
merged 12 commits into from
Nov 28, 2024
Prev Previous commit
Next Next commit
Simplified plan cancellation.
niemyjski committed Nov 28, 2024
commit de670c0b452f244fc473ce7c5161eb78edcaa65e
Original file line number Diff line number Diff line change
@@ -184,21 +184,14 @@ <h4>{{::'Credit Card' | translate}}</h4>
<button type="button" role="button" class="btn btn-default" ng-click="vm.cancel()">
{{::'Cancel' | translate}}
</button>
<span ng-if="vm.isCancellingPlan()">
<button type="submit" role="button" class="btn btn-primary" ng-click="vm.showIntercom()">
{{::'Contact Us' | translate}}
</button>
</span>
<span ng-if="!vm.isCancellingPlan()">
<button
type="submit"
role="button"
class="btn btn-primary"
promise-button="vm.save(vm.changePlanForm.$valid)"
promise-button-busy-text="{{::'Changing Plan' | translate}}"
>
{{::'Change Plan' | translate}}
</button>
</span>
<button
type="submit"
role="button"
class="btn btn-primary"
promise-button="vm.save(vm.changePlanForm.$valid)"
promise-button-busy-text="{{::'Changing Plan' | translate}}"
>
{{::'Change Plan' | translate}}
</button>
</div>
</form>