2018-05-30 10:29:21 +00:00
|
|
|
extends ../../layout
|
|
|
|
|
|
|
|
block scripts
|
|
|
|
script(type='text/javascript').
|
|
|
|
window.teamId = '#{teamId}'
|
2019-02-25 16:24:03 +00:00
|
|
|
window.hasIndividualRecurlySubscription = #{hasIndividualRecurlySubscription}
|
2018-05-30 12:06:27 +00:00
|
|
|
window.inviteToken = '#{inviteToken}'
|
2018-05-30 10:29:21 +00:00
|
|
|
|
|
|
|
block content
|
2018-05-30 12:06:27 +00:00
|
|
|
.content.content-alt.team-invite
|
2018-05-30 10:29:21 +00:00
|
|
|
.container
|
|
|
|
.row
|
|
|
|
.col-md-8.col-md-offset-2
|
|
|
|
-if (query.expired)
|
|
|
|
.alert.alert-warning #{translate("email_link_expired")}
|
|
|
|
|
2018-06-06 14:24:24 +00:00
|
|
|
.row.row-spaced
|
2018-06-11 13:20:46 +00:00
|
|
|
.col-md-8.col-md-offset-2.text-center(ng-cloak)
|
2018-05-30 10:29:21 +00:00
|
|
|
.card(ng-controller="TeamInviteController")
|
|
|
|
.page-header
|
2018-05-31 10:54:50 +00:00
|
|
|
h1.text-centered #{translate("invited_to_group", {inviterName: inviterName, appName: appName})}
|
2018-05-30 10:29:21 +00:00
|
|
|
|
2019-02-25 10:24:33 +00:00
|
|
|
div(ng-show="view =='hasIndividualRecurlySubscription'")
|
2018-05-30 12:06:27 +00:00
|
|
|
p #{translate("cancel_personal_subscription_first")}
|
2019-02-25 10:24:33 +00:00
|
|
|
.alert.alert-danger(ng-show="cancel_error" ng-cloak) #{translate("something_went_wrong_canceling_your_subscription")}
|
2018-06-11 13:20:46 +00:00
|
|
|
p
|
|
|
|
a.btn.btn.btn-default(ng-click="keepPersonalSubscription()", ng-disabled="inflight") #{translate("not_now")}
|
|
|
|
|
|
|
|
|
a.btn.btn.btn-primary(ng-click="cancelPersonalSubscription()", ng-disabled="inflight") #{translate("cancel_your_subscription")}
|
2018-05-30 10:29:21 +00:00
|
|
|
|
2018-06-11 13:20:46 +00:00
|
|
|
div(ng-show="view =='teamInvite'")
|
2018-06-06 15:33:01 +00:00
|
|
|
p #{translate("join_team_explanation", {appName: appName})}
|
2018-06-11 13:20:46 +00:00
|
|
|
p
|
|
|
|
a.btn.btn-default(href="/project") #{translate("not_now")}
|
|
|
|
|
|
|
|
|
a.btn.btn.btn-primary(ng-click="joinTeam()", ng-disabled="inflight") #{translate("accept_invitation")}
|
2018-05-31 10:54:50 +00:00
|
|
|
|
2018-06-11 13:20:46 +00:00
|
|
|
div(ng-show="view =='inviteAccepted'")
|
|
|
|
p #{translate("joined_team", {inviterName: inviterName})}
|
|
|
|
p
|
|
|
|
a.btn.btn.btn-primary(href="/project") #{translate("done")}
|