mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
9cf73f965c
Bundle all frontend code with webpack GitOrigin-RevId: 1bd93dad516c456fe1649193868e841e20459b0b
41 lines
1.6 KiB
Text
41 lines
1.6 KiB
Text
extends ../../layout
|
|
|
|
block head-scripts
|
|
script(type='text/javascript').
|
|
window.teamId = '#{teamId}'
|
|
window.hasIndividualRecurlySubscription = #{hasIndividualRecurlySubscription}
|
|
window.inviteToken = '#{inviteToken}'
|
|
|
|
block content
|
|
.content.content-alt.team-invite
|
|
.container
|
|
.row
|
|
.col-md-8.col-md-offset-2
|
|
-if (query.expired)
|
|
.alert.alert-warning #{translate("email_link_expired")}
|
|
|
|
.row.row-spaced
|
|
.col-md-8.col-md-offset-2.text-center(ng-cloak)
|
|
.card(ng-controller="TeamInviteController")
|
|
.page-header
|
|
h1.text-centered #{translate("invited_to_group", {inviterName: inviterName, appName: appName})}
|
|
|
|
div(ng-show="view =='hasIndividualRecurlySubscription'")
|
|
p #{translate("cancel_personal_subscription_first")}
|
|
.alert.alert-danger(ng-show="cancel_error" ng-cloak) #{translate("something_went_wrong_canceling_your_subscription")}
|
|
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")}
|
|
|
|
div(ng-show="view =='teamInvite'")
|
|
p #{translate("join_team_explanation", {appName: appName})}
|
|
p
|
|
a.btn.btn-default(href="/project") #{translate("not_now")}
|
|
|
|
|
a.btn.btn.btn-primary(ng-click="joinTeam()", ng-disabled="inflight") #{translate("accept_invitation")}
|
|
|
|
div(ng-show="view =='inviteAccepted'")
|
|
p #{translate("joined_team", {inviterName: inviterName})}
|
|
p
|
|
a.btn.btn.btn-primary(href="/project") #{translate("done")}
|