mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 17:19:37 +02:00
Merge pull request #27516 from overleaf/slg-hide-enrolment_ad_html
hide enrolment_ad_html field from v1 admin form and remove unused usage in web GitOrigin-RevId: 7cf8eed1a68bbaf2ebbb77069bfd421cd26ef01d
This commit is contained in:
@@ -168,7 +168,6 @@ function ipMatcherAffiliation(userId) {
|
||||
const messageOpts = {
|
||||
university_name: body.name,
|
||||
institutionId: body.id,
|
||||
content: body.enrolment_ad_html,
|
||||
portalPath,
|
||||
ssoEnabled: body.sso_enabled,
|
||||
}
|
||||
|
||||
@@ -97,7 +97,6 @@ describe('NotificationsBuilder', function () {
|
||||
this.body = {
|
||||
id: 1,
|
||||
name: 'stanford',
|
||||
enrolment_ad_html: 'v1 ad content',
|
||||
is_university: true,
|
||||
portal_slug: null,
|
||||
sso_enabled: false,
|
||||
@@ -112,7 +111,6 @@ describe('NotificationsBuilder', function () {
|
||||
const expectedOpts = {
|
||||
institutionId: this.body.id,
|
||||
university_name: this.body.name,
|
||||
content: this.body.enrolment_ad_html,
|
||||
ssoEnabled: false,
|
||||
portalPath: undefined,
|
||||
}
|
||||
@@ -131,7 +129,6 @@ describe('NotificationsBuilder', function () {
|
||||
this.body = {
|
||||
id: 1,
|
||||
name: 'stanford',
|
||||
enrolment_ad_html: 'v1 ad content',
|
||||
is_university: true,
|
||||
portal_slug: 'stanford',
|
||||
sso_enabled: true,
|
||||
@@ -146,7 +143,6 @@ describe('NotificationsBuilder', function () {
|
||||
const expectedOpts = {
|
||||
institutionId: this.body.id,
|
||||
university_name: this.body.name,
|
||||
content: this.body.enrolment_ad_html,
|
||||
ssoEnabled: true,
|
||||
portalPath: '/edu/stanford',
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user