fix bug which showed all plans as monthly in payment form.

Also use translations for string of month/year
This commit is contained in:
Henry Oswald
2015-02-10 18:05:39 +00:00
parent 08420a305a
commit 1d6c928c81
2 changed files with 4 additions and 3 deletions
@@ -42,8 +42,9 @@ block content
.col-md-12.text-center
div(ng-if="trialLength") !{translate("first_few_days_free", {trialLen:'{{trialLength}}'})}
div(ng-if="price")
strong {{price.currency.symbol}}{{price.next.total}}
span #{translate("every")} {{billingCycleType}}
strong {{price.currency.symbol}}{{price.next.total}}
span(ng-if="monthlyBilling") #{translate("every")} #{translate("month")}
span(ng-if="!monthlyBilling") #{translate("every")} #{translate("year")}
.row
.col-md-12
form(ng-show="planName")