overleaf/services/web/app/views/subscriptions/upgradeToAnnual.pug
Davinder Singh ec920ade78 Merge pull request #10563 from overleaf/ds-btn-success-to-btn-primary
replacing `btn-success` with `btn-primary`

GitOrigin-RevId: 77b90dbc4470bc059c40294b9764d1184f0b0bb8
2022-12-08 09:03:28 +00:00

24 lines
933 B
Text

extends ../layout
block content
main.content.content-alt#main-content
.container(ng-controller="AnnualUpgradeController")
.row(ng-cloak)
.col-md-6.col-md-offset-3
.card(ng-init="planName = "+JSON.stringify(planName))
.page-header
h1.text-centered #{translate("move_to_annual_billing")}
div(ng-hide="upgradeComplete")
.row
div.col-md-12 !{translate("change_to_annual_billing_and_save", {percentage:'20%', yearlySaving:'${{yearlySaving}}'}, ['strong', 'strong'])}
.row  
.row
div.col-md-12
center
button.btn.btn-primary(ng-click="completeAnnualUpgrade()", ng-disabled="inflight")
span(ng-show="inflight") #{translate("processing")}
span(ng-hide="inflight") #{translate("move_to_annual_billing")} now
div(ng-show="upgradeComplete")
h3 #{translate("annual_billing_enabled")}, #{translate("thank_you")}.