join.pug 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. extends ../../layout
  2. block scripts
  3. script(type='text/javascript').
  4. window.group_subscription_id = '#{group_subscription_id}'
  5. window.has_personal_subscription = #{has_personal_subscription}
  6. block content
  7. .content.content-alt
  8. .container
  9. .row
  10. .col-md-8.col-md-offset-2
  11. -if (query.expired)
  12. .alert.alert-warning #{translate("email_link_expired")}
  13. .row.row-spaced
  14. .col-md-8.col-md-offset-2(ng-cloak)
  15. .card(ng-controller="DomainSubscriptionJoinController")
  16. .page-header
  17. h1.text-centered #{translate("you_are_invited_to_group", {groupName:licenceName})}
  18. div(ng-show="view =='personalSubscription'").text-centered
  19. div #{translate("cancel_personal_subscription_first")}
  20. .row.row-spaced
  21. .col-md-12
  22. a.btn.btn.btn-default(ng-click="keepPersonalSubscription()", ng-disabled="inflight") #{translate("not_now")}
  23. span  
  24. a.btn.btn.btn-primary(ng-click="cancelSubscription()", ng-disabled="inflight") #{translate("cancel_your_subscription")}
  25. div(ng-show="view =='domainSubscriptionJoin'").text-centered
  26. .row
  27. .col-md-12 #{translate("group_provides_you_with_premium_account", {groupName:licenceName})}
  28. .row.row-spaced
  29. .col-md-12
  30. .text-center
  31. a.btn.btn-default(href="/project") #{translate("not_now")}
  32. span  
  33. a.btn.btn.btn-primary(ng-click="joinGroup()", ng-disabled="inflight") #{translate("verify_email_address")}
  34. span(ng-show="view =='requestSent'").text-centered.text-center
  35. .row
  36. .col-md-12 #{translate("check_email_to_complete_the_upgrade")}
  37. .row.row-spaced
  38. .col-md-12
  39. a.btn.btn.btn-primary(href="/project") #{translate("done")}