|
|
@@ -4,10 +4,10 @@ block scripts
|
|
|
script(type='text/javascript').
|
|
|
window.teamId = '#{teamId}'
|
|
|
window.hasPersonalSubscription = #{hasPersonalSubscription}
|
|
|
- window.inviteToken = #{inviteToken}
|
|
|
+ window.inviteToken = '#{inviteToken}'
|
|
|
|
|
|
block content
|
|
|
- .content.content-alt
|
|
|
+ .content.content-alt.team-invite
|
|
|
.container
|
|
|
.row
|
|
|
.col-md-8.col-md-offset-2
|
|
|
@@ -20,36 +20,21 @@ block content
|
|
|
.col-md-8.col-md-offset-2(ng-cloak)
|
|
|
.card(ng-controller="TeamInviteController")
|
|
|
.page-header
|
|
|
- h1.text-centered #{translate("you_are_invited_to_group", {teamName: teamName})}
|
|
|
+ h1.text-centered #{translate("invited_to_group", {inviterName: inviterName})}
|
|
|
|
|
|
- div(ng-show="view =='personalSubscription'").row.text-centered
|
|
|
- div #{translate("cancel_personal_subscription_first")}
|
|
|
- .row
|
|
|
- .col-md-12
|
|
|
+ div(ng-show="view =='personalSubscription'").row.text-centered.message
|
|
|
+ p #{translate("cancel_personal_subscription_first")}
|
|
|
.row
|
|
|
.col-md-12
|
|
|
a.btn.btn.btn-default(ng-click="keepPersonalSubscription()", ng-disabled="inflight") #{translate("not_now")}
|
|
|
span
|
|
|
a.btn.btn.btn-primary(ng-click="cancelPersonalSubscription()", ng-disabled="inflight") #{translate("cancel_your_subscription")}
|
|
|
|
|
|
- div(ng-show="view =='teamInvite'").row.text-centered
|
|
|
- .row
|
|
|
- .col-md-12 #{translate("group_provides_you_with_premium_account", {teamName: teamName})}
|
|
|
- .row
|
|
|
- .col-md-12
|
|
|
+ div(ng-show="view =='teamInvite'").row.text-centered.message
|
|
|
+ p #{translate("accept_invite_to_join_team", {inviterName: inviterName})}
|
|
|
.row
|
|
|
.col-md-12
|
|
|
.text-center
|
|
|
a.btn.btn-default(href="/project") #{translate("not_now")}
|
|
|
span
|
|
|
- a.btn.btn.btn-primary(ng-click="joinTeam()", ng-disabled="inflight") #{translate("verify_email_address")}
|
|
|
-
|
|
|
-
|
|
|
- span(ng-show="view =='requestSent'").row.text-centered.text-center
|
|
|
- .row
|
|
|
- .col-md-12 #{translate("check_email_to_complete_the_upgrade")}
|
|
|
- .row
|
|
|
- .col-md-12
|
|
|
- .row
|
|
|
- .col-md-12
|
|
|
- a.btn.btn.btn-primary(href="/project") #{translate("done")}
|
|
|
+ a.btn.btn.btn-primary(ng-click="joinTeam()", ng-disabled="inflight") #{translate("join_team")}
|