|
|
@@ -49,15 +49,15 @@ block content
|
|
|
span(ng-if="coupon.discountMonths && coupon.discountRate") - {{coupon.discountMonths}} #{translate("month")}s {{coupon.discountRate}}% Off
|
|
|
|
|
|
div(ng-if="price")
|
|
|
- - var priceAngularExp = "<strong>{{ availableCurrencies[currencyCode]['symbol'] }}{{ price.total }}</strong>";
|
|
|
+ - var priceVars = { price: "{{ availableCurrencies[currencyCode]['symbol'] }}{{ price.total }}"};
|
|
|
span(ng-if="!coupon.singleUse && monthlyBilling")
|
|
|
- | !{translate("x_price_per_month", { price: priceAngularExp } )}
|
|
|
+ | !{translate("x_price_per_month", priceVars, ['strong'] )}
|
|
|
span(ng-if="!coupon.singleUse && !monthlyBilling")
|
|
|
- | !{translate("x_price_per_year", { price: priceAngularExp } )}
|
|
|
+ | !{translate("x_price_per_year", priceVars, ['strong'] )}
|
|
|
span(ng-if="coupon.singleUse && monthlyBilling")
|
|
|
- | !{translate("x_price_for_first_month", { price: priceAngularExp } )}
|
|
|
+ | !{translate("x_price_for_first_month", priceVars, ['strong'] )}
|
|
|
span(ng-if="coupon.singleUse && !monthlyBilling")
|
|
|
- | !{translate("x_price_for_first_year", { price: priceAngularExp } )}
|
|
|
+ | !{translate("x_price_for_first_year", priceVars, ['strong'] )}
|
|
|
|
|
|
div(ng-if="coupon && coupon.normalPrice")
|
|
|
- var noDiscountPriceAngularExp = "{{ availableCurrencies[currencyCode]['symbol']}}{{coupon.normalPrice | number:2 }}";
|
|
|
@@ -230,22 +230,19 @@ block content
|
|
|
div.price-breakdown(
|
|
|
ng-show="taxes.length"
|
|
|
)
|
|
|
- - var priceBreakdownAngularExp = "<strong>{{ availableCurrencies[currencyCode]['symbol'] }}{{ price.total }}</strong>";
|
|
|
- - priceBreakdownAngularExp += " ({{availableCurrencies[currencyCode]['symbol']}}{{ price.subtotal }}";
|
|
|
- - priceBreakdownAngularExp += " + " ;
|
|
|
- - priceBreakdownAngularExp += "{{availableCurrencies[currencyCode]['symbol']}}{{ price.tax }} tax)";
|
|
|
+ - var priceBreakdownVars = { total: "{{ availableCurrencies[currencyCode]['symbol'] }}{{ price.total }}", subtotal: "{{availableCurrencies[currencyCode]['symbol']}}{{ price.subtotal }}", tax: "{{availableCurrencies[currencyCode]['symbol']}}{{ price.tax }}" };
|
|
|
hr.thin
|
|
|
span
|
|
|
| Total:
|
|
|
|
|
|
|
span(ng-if="!coupon.singleUse && monthlyBilling")
|
|
|
- | !{translate("x_price_per_month", { price: priceBreakdownAngularExp } )}
|
|
|
+ | !{translate("x_price_per_month_tax", priceBreakdownVars, ['strong'] )}
|
|
|
span(ng-if="!coupon.singleUse && !monthlyBilling")
|
|
|
- | !{translate("x_price_per_year", { price: priceBreakdownAngularExp } )}
|
|
|
+ | !{translate("x_price_per_year_tax", priceBreakdownVars, ['strong'] )}
|
|
|
span(ng-if="coupon.singleUse && monthlyBilling")
|
|
|
- | !{translate("x_price_for_first_month", { price: priceBreakdownAngularExp } )}
|
|
|
+ | !{translate("x_price_for_first_month_tax", priceBreakdownVars, ['strong'] )}
|
|
|
span(ng-if="coupon.singleUse && !monthlyBilling")
|
|
|
- | !{translate("x_price_for_first_year", { price: priceBreakdownAngularExp } )}
|
|
|
+ | !{translate("x_price_for_first_year_tax", priceBreakdownVars, ['strong'] )}
|
|
|
hr.thin
|
|
|
|
|
|
div.payment-submit
|