2018-05-30 06:29:21 -04:00
|
|
|
extends ../../layout
|
|
|
|
|
|
|
|
block scripts
|
|
|
|
script(type='text/javascript').
|
|
|
|
window.teamId = '#{teamId}'
|
|
|
|
window.hasPersonalSubscription = #{hasPersonalSubscription}
|
2018-05-30 08:06:27 -04:00
|
|
|
window.inviteToken = '#{inviteToken}'
|
2018-05-30 06:29:21 -04:00
|
|
|
|
|
|
|
block content
|
2018-05-30 08:06:27 -04:00
|
|
|
.content.content-alt.team-invite
|
2018-05-30 06:29:21 -04:00
|
|
|
.container
|
|
|
|
.row
|
|
|
|
.col-md-8.col-md-offset-2
|
|
|
|
-if (query.expired)
|
|
|
|
.alert.alert-warning #{translate("email_link_expired")}
|
|
|
|
|
2018-06-06 10:24:24 -04:00
|
|
|
.row.row-spaced
|
2018-05-30 06:29:21 -04:00
|
|
|
.col-md-8.col-md-offset-2(ng-cloak)
|
|
|
|
.card(ng-controller="TeamInviteController")
|
|
|
|
.page-header
|
2018-05-31 06:54:50 -04:00
|
|
|
h1.text-centered #{translate("invited_to_group", {inviterName: inviterName, appName: appName})}
|
2018-05-30 06:29:21 -04:00
|
|
|
|
2018-06-06 10:24:24 -04:00
|
|
|
div(ng-show="view =='personalSubscription'").text-centered.message
|
2018-05-30 08:06:27 -04:00
|
|
|
p #{translate("cancel_personal_subscription_first")}
|
2018-05-30 06:29:21 -04:00
|
|
|
.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")}
|
|
|
|
|
2018-05-30 08:06:27 -04:00
|
|
|
div(ng-show="view =='teamInvite'").row.text-centered.message
|
2018-06-06 11:33:01 -04:00
|
|
|
p #{translate("join_team_explanation", {appName: appName})}
|
2018-05-30 06:29:21 -04:00
|
|
|
.row
|
|
|
|
.col-md-12
|
|
|
|
.text-center
|
|
|
|
a.btn.btn-default(href="/project") #{translate("not_now")}
|
|
|
|
span
|
2018-05-31 06:54:50 -04:00
|
|
|
a.btn.btn.btn-primary(ng-click="joinTeam()", ng-disabled="inflight") #{translate("accept_invitation")}
|
|
|
|
|
|
|
|
div(ng-show="view =='inviteAccepted'").row.text-centered.text-center
|
|
|
|
.row
|
2018-06-06 10:30:40 -04:00
|
|
|
.col-md-12 #{translate("joined_team", {inviterName: inviterName})}
|
2018-05-31 06:54:50 -04:00
|
|
|
.row
|
|
|
|
.col-md-12
|
|
|
|
.row
|
|
|
|
.col-md-12
|
|
|
|
a.btn.btn.btn-primary(href="/project") #{translate("done")}
|