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:
Simon Gardner
2025-08-04 11:45:27 +01:00
committed by Copybot
parent e04b6ac8dc
commit b80b7f6afe
2 changed files with 0 additions and 5 deletions

View File

@@ -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,
}

View File

@@ -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',
}