improved views for domain licence invites

This commit is contained in:
Henry Oswald 2015-05-29 12:09:28 +01:00
parent ca28d8ee70
commit 702fdc1480
3 changed files with 27 additions and 17 deletions

View file

@ -13,17 +13,23 @@ block content
.page-header .page-header
h1.text-centered #{translate("you_are_invited_to_group", {groupName:licenceName})} h1.text-centered #{translate("you_are_invited_to_group", {groupName:licenceName})}
div(ng-show="!requestSent").row.text-centered div(ng-show="!requestSent").row.text-centered
.row
.col-md-12 #{translate("you_can_claim_premium_account", {groupName:licenceName})} .col-md-12 #{translate("group_provides_you_with_premium_account", {groupName:licenceName})}
.col-md-12   .row
.col-md-12 .col-md-12  
span.pull-right .row
a.btn.btn-default(href="/project") #{translate("not_now")} .col-md-12
  .text-center
a.btn.btn.btn-primary(ng-click="joinGroup()") #{translate("verify_email_join_group")} a.btn.btn-default(href="/project") #{translate("not_now")}
 
a.btn.btn.btn-primary(ng-click="joinGroup()") #{translate("verify_email_address")}
span(ng-show="requestSent").row.text-centered span(ng-show="requestSent").row.text-centered.text-center
.col-md-8 #{translate("check_email_to_complete_group")} .row
.col-md-4.pull-right .col-md-12 #{translate("check_email_to_complete_the_upgrade")}
a.btn.btn.btn-primary(href="/project") #{translate("done")} .row
.col-md-12  
.row
.col-md-12
a.btn.btn.btn-primary(href="/project") #{translate("done")}

View file

@ -13,9 +13,13 @@ block content
.page-header.row.text-centered .page-header.row.text-centered
h1 #{translate("you_have_joined", {groupName:licenceName})} h1 #{translate("you_have_joined", {groupName:licenceName})}
div(ng-show="!requestSent").row.text-centered div(ng-show="!requestSent").row.text-centered
.span-md-12 #{translate("claim_premium_account", {groupName:licenceName})} .row
div .span-md-12 #{translate("claim_premium_account", {groupName:licenceName})}
.span-md-12 div
a.btn.btn-success(href="/project") #{translate("Done")} .row
.col-md-12  
.row
.span-md-12
a.btn.btn-success(href="/project") #{translate("Done")}

View file

@ -350,7 +350,7 @@ module.exports =
reloadModuleViewsOnEachRequest: true reloadModuleViewsOnEachRequest: true
domainLicences: [ domainLicences: [
{"domains":["gmail.com"], "adminUser_id":"555208e6ce4812e7d2319daa", "subscription_id":"555c6d1eb844bfb3964e0629", "name":"HENRYS AMAZING LICENCE", verifyEmail:true}
] ]
# ShareLaTeX Server Pro options (https://www.sharelatex.com/university/onsite.html) # ShareLaTeX Server Pro options (https://www.sharelatex.com/university/onsite.html)