2015-05-22 08:57:15 -04:00
|
|
|
extends ../../layout
|
|
|
|
|
|
|
|
block scripts
|
|
|
|
script(type='text/javascript').
|
2016-03-22 12:59:47 -04:00
|
|
|
window.group_subscription_id = '#{group_subscription_id}'
|
2016-09-23 11:18:22 -04:00
|
|
|
window.has_personal_subscription = #{has_personal_subscription}
|
2015-05-22 08:57:15 -04:00
|
|
|
|
|
|
|
block content
|
|
|
|
.content.content-alt
|
|
|
|
.container
|
2015-06-01 07:43:42 -04:00
|
|
|
.row
|
|
|
|
.col-md-8.col-md-offset-2
|
|
|
|
-if (query.expired)
|
|
|
|
.alert.alert-warning #{translate("email_link_expired")}
|
2016-03-22 12:59:47 -04:00
|
|
|
|
|
|
|
.row
|
|
|
|
div
|
2015-05-22 08:57:15 -04:00
|
|
|
.row
|
|
|
|
.col-md-8.col-md-offset-2(ng-cloak)
|
|
|
|
.card(ng-controller="GroupSubscriptionInviteController")
|
|
|
|
.page-header
|
2015-05-27 17:15:46 -04:00
|
|
|
h1.text-centered #{translate("you_are_invited_to_group", {groupName:licenceName})}
|
2016-03-22 12:59:47 -04:00
|
|
|
|
|
|
|
div(ng-show="view =='personalSubscription'").row.text-centered
|
|
|
|
div #{translate("cancel_personal_subscription_first")}
|
|
|
|
.row
|
|
|
|
.col-md-12
|
|
|
|
.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="cancelSubscription()", ng-disabled="inflight") #{translate("cancel_your_subscription")}
|
|
|
|
|
|
|
|
div(ng-show="view =='groupSubscriptionInvite'").row.text-centered
|
2015-05-29 07:09:28 -04:00
|
|
|
.row
|
|
|
|
.col-md-12 #{translate("group_provides_you_with_premium_account", {groupName:licenceName})}
|
|
|
|
.row
|
|
|
|
.col-md-12
|
|
|
|
.row
|
|
|
|
.col-md-12
|
|
|
|
.text-center
|
|
|
|
a.btn.btn-default(href="/project") #{translate("not_now")}
|
2015-06-01 07:22:46 -04:00
|
|
|
span
|
2016-03-22 12:59:47 -04:00
|
|
|
a.btn.btn.btn-primary(ng-click="joinGroup()", ng-disabled="inflight") #{translate("verify_email_address")}
|
2015-05-22 08:57:15 -04:00
|
|
|
|
2015-05-27 17:15:46 -04:00
|
|
|
|
2016-03-22 12:59:47 -04:00
|
|
|
span(ng-show="view =='requestSent'").row.text-centered.text-center
|
2015-05-29 07:09:28 -04:00
|
|
|
.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")}
|