|
|
@@ -1,5 +1,12 @@
|
|
|
extends ../layout
|
|
|
|
|
|
+block requirejs-init
|
|
|
+ script(
|
|
|
+ data-main=buildJsPath("main-recurly.js", {hashedPath:false}),
|
|
|
+ baseurl=fullJsPath,
|
|
|
+ src=buildJsPath('libs/require.js', {hashedPath:true})
|
|
|
+ )
|
|
|
+
|
|
|
block scripts
|
|
|
script(type='text/javascript').
|
|
|
window.countryCode = '#{countryCode}'
|
|
|
@@ -15,7 +22,9 @@ block content
|
|
|
.row.card-group
|
|
|
.col-md-5.col-md-push-4
|
|
|
.card.card-highlighted.card-border
|
|
|
- .page-header
|
|
|
+ .alert.alert-danger(ng-show="recurlyLoadError")
|
|
|
+ strong #{translate('payment_provider_unreachable_error')}
|
|
|
+ .page-header(ng-hide="recurlyLoadError")
|
|
|
.row
|
|
|
.col-xs-9
|
|
|
h2 {{planName}}
|
|
|
@@ -26,13 +35,13 @@ block content
|
|
|
data-toggle="dropdown",
|
|
|
dropdown-toggle
|
|
|
)
|
|
|
- | {{currencyCode}} ({{allCurrencies[currencyCode]['symbol']}})
|
|
|
+ | {{currencyCode}} ({{allCurrencies[currencyCode]['symbol']}})
|
|
|
span.caret
|
|
|
ul.dropdown-menu(role="menu")
|
|
|
li(ng-repeat="(currency, value) in availableCurrencies")
|
|
|
a(
|
|
|
ng-click="changeCurrency(currency)",
|
|
|
- ) {{currency}} ({{value['symbol']}})
|
|
|
+ ) {{currency}} ({{value['symbol']}})
|
|
|
.row(ng-if="planCode == 'student-annual' || planCode == 'student-monthly' || planCode == 'student_free_trial_7_days'")
|
|
|
.col-xs-12
|
|
|
p.student-disclaimer #{translate('student_disclaimer')}
|
|
|
@@ -40,16 +49,16 @@ block content
|
|
|
hr.thin
|
|
|
.row
|
|
|
.col-md-12.text-center
|
|
|
- div(ng-if="trialLength")
|
|
|
+ div(ng-if="trialLength")
|
|
|
span !{translate("first_few_days_free", {trialLen:'{{trialLength}}'})}
|
|
|
span(ng-if="discountMonths && discountRate") - {{discountMonths}} #{translate("month")}s {{discountRate}}% Off
|
|
|
div(ng-if="price")
|
|
|
- strong {{availableCurrencies[currencyCode]['symbol']}}{{price.next.total}}
|
|
|
+ strong {{availableCurrencies[currencyCode]['symbol']}}{{price.next.total}}
|
|
|
span(ng-if="monthlyBilling") #{translate("every")} #{translate("month")}
|
|
|
span(ng-if="!monthlyBilling") #{translate("every")} #{translate("year")}
|
|
|
div(ng-if="normalPrice")
|
|
|
span.small Normally {{availableCurrencies[currencyCode]['symbol']}}{{normalPrice}}
|
|
|
- .row
|
|
|
+ .row(ng-hide="recurlyLoadError")
|
|
|
div()
|
|
|
.col-md-12()
|
|
|
form(
|
|
|
@@ -57,7 +66,7 @@ block content
|
|
|
novalidate
|
|
|
)
|
|
|
|
|
|
-
|
|
|
+
|
|
|
div.payment-method-toggle
|
|
|
a.payment-method-toggle-switch(
|
|
|
href
|
|
|
@@ -77,7 +86,7 @@ block content
|
|
|
)
|
|
|
i.fa.fa-cc-paypal.fa-2x(aria-hidden="true")
|
|
|
span.sr-only Pay with PayPal
|
|
|
-
|
|
|
+
|
|
|
.alert.alert-warning.small(ng-show="genericError")
|
|
|
strong {{genericError}}
|
|
|
|
|
|
@@ -132,7 +141,7 @@ block content
|
|
|
name="year"
|
|
|
data-recurly="year"
|
|
|
)
|
|
|
-
|
|
|
+
|
|
|
.col-xs-6
|
|
|
.form-group.has-feedback(ng-class="validation.errorFields.cvv ? 'has-external-error' : ''")
|
|
|
label #{translate("security_code")}
|
|
|
@@ -184,14 +193,14 @@ block content
|
|
|
ng-blur="applyCoupon()"
|
|
|
ng-model="data.coupon"
|
|
|
)
|
|
|
-
|
|
|
+
|
|
|
p(ng-if="paymentMethod.value === 'paypal'") #{translate("paypal_upgrade")}
|
|
|
-
|
|
|
+
|
|
|
div.price-breakdown(ng-if="price.next.tax !== '0.00'")
|
|
|
hr.thin
|
|
|
- span Total:
|
|
|
- strong {{availableCurrencies[currencyCode]['symbol']}}{{price.next.total}}
|
|
|
- span ({{availableCurrencies[currencyCode]['symbol']}}{{price.next.subtotal}} + {{availableCurrencies[currencyCode]['symbol']}}{{price.next.tax}} tax)
|
|
|
+ span Total:
|
|
|
+ strong {{availableCurrencies[currencyCode]['symbol']}}{{price.next.total}}
|
|
|
+ span ({{availableCurrencies[currencyCode]['symbol']}}{{price.next.subtotal}} + {{availableCurrencies[currencyCode]['symbol']}}{{price.next.tax}} tax)
|
|
|
span(ng-if="monthlyBilling") #{translate("every")} #{translate("month")}
|
|
|
span(ng-if="!monthlyBilling") #{translate("every")} #{translate("year")}
|
|
|
hr.thin
|
|
|
@@ -199,9 +208,9 @@ block content
|
|
|
div.payment-submit
|
|
|
button.btn.btn-success.btn-block(
|
|
|
ng-click="submit()"
|
|
|
- ng-disabled="processing || !isFormValid(simpleCCForm);"
|
|
|
- )
|
|
|
- span(ng-show="processing")
|
|
|
+ ng-disabled="processing || !isFormValid(simpleCCForm);"
|
|
|
+ )
|
|
|
+ span(ng-show="processing")
|
|
|
i.fa.fa-spinner.fa-spin(aria-hidden="true")
|
|
|
span.sr-only #{translate('processing')}
|
|
|
|
|
|
|
@@ -215,13 +224,13 @@ block content
|
|
|
a.btn-primary.btn.plansPageStudentLink(
|
|
|
href,
|
|
|
ng-click="switchToStudent()"
|
|
|
- ) #{translate("half_price_student")}
|
|
|
+ ) #{translate("half_price_student")}
|
|
|
|
|
|
.card.card-first
|
|
|
.paymentPageFeatures
|
|
|
h3 #{translate("unlimited_projects")}
|
|
|
p #{translate("create_unlimited_projects")}
|
|
|
-
|
|
|
+
|
|
|
h3
|
|
|
if plan.features.collaborators == -1
|
|
|
- var collaboratorCount = 'Unlimited'
|
|
|
@@ -229,21 +238,21 @@ block content
|
|
|
- var collaboratorCount = plan.features.collaborators
|
|
|
| #{translate("collabs_per_proj", {collabcount:collaboratorCount})}
|
|
|
p #{translate("work_on_single_version")}. #{translate("view_collab_edits")} in real time.
|
|
|
-
|
|
|
+
|
|
|
h3 #{translate("full_doc_history")}
|
|
|
- p #{translate("see_what_has_been")}
|
|
|
- span.added #{translate("added")}
|
|
|
- | #{translate("and")}
|
|
|
- span.removed #{translate("removed")}.
|
|
|
+ p #{translate("see_what_has_been")}
|
|
|
+ span.added #{translate("added")}
|
|
|
+ | #{translate("and")}
|
|
|
+ span.removed #{translate("removed")}.
|
|
|
| #{translate("restore_to_any_older_version")}.
|
|
|
-
|
|
|
+
|
|
|
h3 #{translate("sync_to_dropbox")}
|
|
|
p
|
|
|
- | #{translate("acces_work_from_anywhere")}.
|
|
|
+ | #{translate("acces_work_from_anywhere")}.
|
|
|
| #{translate("work_offline_and_sync_with_dropbox")}.
|
|
|
-
|
|
|
+
|
|
|
hr
|
|
|
-
|
|
|
+
|
|
|
p.small.text-center(ng-non-bindable) We're confident that you'll love #{settings.appName}, but if not you can cancel anytime. We'll give you your money back, no questions asked, if you let us know within 30 days.
|
|
|
|
|
|
|