invite.jade 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  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
  14. div  
  15. .row
  16. .col-md-8.col-md-offset-2(ng-cloak)
  17. .card(ng-controller="GroupSubscriptionInviteController")
  18. .page-header
  19. h1.text-centered #{translate("you_are_invited_to_group", {groupName:licenceName})}
  20. div(ng-show="view =='personalSubscription'").row.text-centered
  21. div #{translate("cancel_personal_subscription_first")}
  22. .row
  23. .col-md-12  
  24. .row
  25. .col-md-12
  26. a.btn.btn.btn-default(ng-click="keepPersonalSubscription()", ng-disabled="inflight") #{translate("not_now")}
  27. span  
  28. a.btn.btn.btn-primary(ng-click="cancelSubscription()", ng-disabled="inflight") #{translate("cancel_your_subscription")}
  29. div(ng-show="view =='groupSubscriptionInvite'").row.text-centered
  30. .row
  31. .col-md-12 #{translate("group_provides_you_with_premium_account", {groupName:licenceName})}
  32. .row
  33. .col-md-12  
  34. .row
  35. .col-md-12
  36. .text-center
  37. a.btn.btn-default(href="/project") #{translate("not_now")}
  38. span  
  39. a.btn.btn.btn-primary(ng-click="joinGroup()", ng-disabled="inflight") #{translate("verify_email_address")}
  40. span(ng-show="view =='requestSent'").row.text-centered.text-center
  41. .row
  42. .col-md-12 #{translate("check_email_to_complete_the_upgrade")}
  43. .row
  44. .col-md-12  
  45. .row
  46. .col-md-12
  47. a.btn.btn.btn-primary(href="/project") #{translate("done")}