mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 22:23:42 +01:00
Merge pull request #3543 from overleaf/jel-em-ip-matcher
IP matcher notifications GitOrigin-RevId: 50811fb683961f4d021b37b1d97c24da48c59720
This commit is contained in:
@@ -51,17 +51,40 @@ include ../../_mixins/saml
|
||||
span.sr-only #{translate("close")}
|
||||
.alert.alert-info(
|
||||
ng-switch-when="notification_ip_matched_affiliation"
|
||||
ng-if="notification.messageOpts.ssoEnabled"
|
||||
)
|
||||
.notification-body
|
||||
| It looks like you're at
|
||||
strong {{ notification.messageOpts.university_name }}! <br/>
|
||||
| Did you know that {{notification.messageOpts.university_name}} is providing
|
||||
strong free Overleaf Professional accounts
|
||||
| to everyone at {{notification.messageOpts.university_name}}? <br/>
|
||||
| Add an institutional email address to claim your account.
|
||||
| !{translate("looks_like_youre_at", {institutionName: '{{notification.messageOpts.university_name}}'}, ['strong'])}
|
||||
br
|
||||
| !{translate("you_can_now_log_in_sso", {}, ['strong'])}
|
||||
br
|
||||
| #{translate("link_institutional_email_get_started", {}, ['strong'])}
|
||||
a(
|
||||
ng-href="{{notification.messageOpts.portalPath || 'https://www.overleaf.com/learn/how-to/Institutional_Login'}}"
|
||||
) #{translate("find_out_more_nt")}
|
||||
.notification-action
|
||||
a.pull-right.btn.btn-sm.btn-info(href="/user/settings")
|
||||
| Add Affiliation
|
||||
a.pull-right.btn.btn-sm.btn-info(
|
||||
href=`{{samlInitPath}}?university_id={{notification.messageOpts.institutionId}}`
|
||||
)
|
||||
| #{translate("link_account")}
|
||||
.notification-close
|
||||
button.btn-sm(ng-click="dismiss(notification)").close.pull-right
|
||||
span(aria-hidden="true") ×
|
||||
span.sr-only #{translate("close")}
|
||||
.alert.alert-info(
|
||||
ng-switch-when="notification_ip_matched_affiliation"
|
||||
ng-if="!notification.messageOpts.ssoEnabled"
|
||||
)
|
||||
.notification-body
|
||||
| !{translate("looks_like_youre_at", {institutionName: '{{notification.messageOpts.university_name}}'}, ['strong'])}
|
||||
br
|
||||
| !{translate("did_you_know_institution_providing_professional", {institutionName: '{{notification.messageOpts.university_name}}'}, ['strong'])}
|
||||
br
|
||||
| #{translate("add_email_to_claim_features")}
|
||||
.notification-action
|
||||
a.pull-right.btn.btn-sm.btn-info(
|
||||
href="/user/settings"
|
||||
) #{translate("add_affiliation")}
|
||||
.notification-close
|
||||
button.btn-sm(ng-click="dismiss(notification)").close.pull-right
|
||||
span(aria-hidden="true") ×
|
||||
|
||||
Reference in New Issue
Block a user