|
24 | 24 | </div> |
25 | 25 |
|
26 | 26 |
|
27 | | - <div class='full-width cc-form-elem'> |
| 27 | + <div class='full-width cc-form-elem'> |
28 | 28 | <form.field @label="Credit Card details" |
29 | 29 | onSubmit={{perform this.createSubscription}} @required={{true}} @showRequiredMark={{true}} as |field|> |
30 | 30 | <StripeCard class="cc-form-internal" @onComplete={{action "complete" }} @options={{this.options}} as |stripeError|> |
|
38 | 38 | <div class='full-width form-elem'> |
39 | 39 |
|
40 | 40 | <form.field @label="Billing e-mail address" @value={{this.billingEmail}} @onChange={{action (mut |
41 | | - this.billingEmail)}} @required={{true}} @validator={{form-validator form.validators.email}} |
| 41 | + this.billingEmail)}} @required={{true}} @validator={{form-validator form.validators.email action "validateBillingEmails"}} |
42 | 42 | @showRequiredMark={{true}} as |field|> |
43 | 43 | <field.input @type="text" /> |
44 | 44 | </form.field> |
|
158 | 158 | {{#unless this.isTrial}} |
159 | 159 | <p class="plan-desc">{{format-currency this.selectedPlan.startingPrice floor="true"}}{{ if this.selectedPlan.isAnnual '/annualy' |
160 | 160 | '/monthly'}}</p> |
161 | | - |
| 161 | + |
162 | 162 | <button class=" no-button plan-details" {{action 'togglePlanDetails' }}> |
163 | 163 | Plan details </button> |
164 | 164 | {{#if this.planDetailsVisible}} |
|
174 | 174 | <p class='billing-plans__box-v2--desc cnowrap' data-test-selected-plan-os="true"> |
175 | 175 | <SvgImage @name="stage-passed" @class="icon icon-desc" />Linux, Windows, macOS, FreeBSD |
176 | 176 | </p> |
177 | | - |
| 177 | + |
178 | 178 | {{#if this.selectedPlan.hasOSSCreditAddons}} |
179 | 179 | <p class='billing-plans__box-v2--desc' data-test-selected-plan-oss-credits="true"> |
180 | 180 | <SvgImage @name="stage-passed" @class="icon icon-desc" /> {{this.selectedPlan.publicCredits}} OSS Credits<span |
|
218 | 218 | <div class="align-left font-size-s" id="first-plan-charge-info"> |
219 | 219 | {{#if this.isTrial}} |
220 | 220 | <b class="font-bold">We will charge you $1 and refund you in 7 days</b>. This is needed to make sure your card |
221 | | - |
| 221 | + |
222 | 222 | is valid. By clicking on "Verify Your Account" you agree to <a href="{{this.travisTermsUrl}}" class="travis-link" target="_blank">Travis CI |
223 | 223 | Terms and Privacy |
224 | 224 | Policy</a>. |
|
227 | 227 |
|
228 | 228 | will not be able to use Travis CI features. |
229 | 229 | {{else}} |
230 | | - |
| 230 | + |
231 | 231 | You'll be charged {{format-currency this.selectedPlan.startingPrice floor="true"}} {{ if |
232 | 232 | this.selectedPlan.isAnnual 'annualy' 'monthly'}} until you cancel your subscription. Previous |
233 | | - |
| 233 | + |
234 | 234 | charges won't be refunded when you cancel unless it's legally required. By clicking |
235 | 235 | on "{{this.getActivateButtonText}}" you agree to <a href="{{this.travisTermsUrl}}" class="travis-link" target="_blank">Travis CI Terms and Privacy |
236 | 236 | Policy</a>. |
|
0 commit comments