changed views to use translations

This commit is contained in:
Henry Oswald 2015-05-27 22:15:46 +01:00
parent b657c5207e
commit ca28d8ee70
2 changed files with 12 additions and 10 deletions

View file

@ -11,18 +11,19 @@ block content
.col-md-8.col-md-offset-2(ng-cloak)
.card(ng-controller="GroupSubscriptionInviteController")
.page-header
h1.text-centered You are invited to Join #{licenceName}
h1.text-centered #{translate("you_are_invited_to_group", {groupName:licenceName})}
div(ng-show="!requestSent").row.text-centered
.col-md-12 You can claim a free premium account provided by #{licenceName} by verifying your email
.col-md-12 #{translate("you_can_claim_premium_account", {groupName:licenceName})}
.col-md-12  
.col-md-12
span.pull-right
a.btn.btn-default(href="/project") Skip
a.btn.btn-default(href="/project") #{translate("not_now")}
 
a.btn.btn.btn-primary(ng-click="joinGroup()") Verify email and join Group
a.btn.btn.btn-primary(ng-click="joinGroup()") #{translate("verify_email_join_group")}
span(ng-show="requestSent").row.text-centered
.col-md-8 Check your email to complete joinging the group
.col-md-8 #{translate("check_email_to_complete_group")}
.col-md-4.pull-right
a.btn.btn.btn-primary(href="/project") Continue to projects
a.btn.btn.btn-primary(href="/project") #{translate("done")}

View file

@ -11,10 +11,11 @@ block content
.col-md-8.col-md-offset-2(ng-cloak)
.card
.page-header.row.text-centered
h1 You have joined #{licenceName}
h1 #{translate("you_have_joined", {groupName:licenceName})}
div(ng-show="!requestSent").row.text-centered
.span-md-12 #{translate("claim_premium_account", {groupName:licenceName})}
div
.span-md-12
div You have claimed your premium account provided by #{licenceName}.
.span-md-12
a.btn.btn-success(href="/project") Done
a.btn.btn-success(href="/project") #{translate("Done")}