overleaf/services/web/app/views/subscriptions/team/invite.pug

45 lines
1.9 KiB
Text
Raw Normal View History

extends ../../layout
block append meta
meta(name="ol-hasIndividualRecurlySubscription" data-type="boolean" content=hasIndividualRecurlySubscription)
meta(name="ol-inviteToken" content=inviteToken)
block content
main.content.content-alt.team-invite#main-content
.container
.row
.col-md-8.col-md-offset-2
if (expired)
.alert.alert-warning #{translate("email_link_expired")}
.row.row-spaced
2018-06-11 09:20:46 -04:00
.col-md-8.col-md-offset-2.text-center(ng-cloak)
.card(ng-controller="TeamInviteController")
.page-header
h1.text-centered(ng-non-bindable) #{translate("invited_to_group", {inviterName: inviterName, appName: appName})}
div(ng-show="view =='restrictedByManagedGroup'")
.alert.alert-info #{translate("restricted")}
p #{translate("account_managed_by_group_administrator", {admin: currentManagedUserAdminEmail})}
div(ng-show="view =='hasIndividualRecurlySubscription'")
2018-05-30 08:06:27 -04:00
p #{translate("cancel_personal_subscription_first")}
.alert.alert-danger(ng-show="cancel_error" ng-cloak) #{translate("something_went_wrong_canceling_your_subscription")}
2018-06-11 09:20:46 -04:00
p
a.btn.btn.btn-secondary(ng-click="keepPersonalSubscription()", ng-disabled="inflight") #{translate("not_now")}
2018-06-11 09:20:46 -04:00
|  
a.btn.btn.btn-primary(ng-click="cancelPersonalSubscription()", ng-disabled="inflight") #{translate("cancel_your_subscription")}
2018-06-11 09:20:46 -04:00
div(ng-show="view =='teamInvite'")
2018-06-06 11:33:01 -04:00
p #{translate("join_team_explanation", {appName: appName})}
if (!expired)
p
a.btn.btn-secondary(href="/project") #{translate("not_now")}
|  
a.btn.btn.btn-primary(ng-click="joinTeam()", ng-disabled="inflight") #{translate("accept_invitation")}
2018-05-31 06:54:50 -04:00
2018-06-11 09:20:46 -04:00
div(ng-show="view =='inviteAccepted'")
p(ng-non-bindable) #{translate("joined_team", {inviterName: inviterName})}
2018-06-11 09:20:46 -04:00
p
a.btn.btn.btn-primary(href="/project") #{translate("done")}