diff --git a/core/server/data/schema/default-settings.json b/core/server/data/schema/default-settings.json index ff4b6b450f..b1c37d6f30 100644 --- a/core/server/data/schema/default-settings.json +++ b/core/server/data/schema/default-settings.json @@ -290,6 +290,22 @@ "portal_plans": { "defaultValue": "[\"free\", \"monthly\", \"yearly\"]", "type": "array" + }, + "portal_button_style": { + "defaultValue": "icon-and-text", + "validations": { + "isEmpty": false, + "isIn": [["text-only", "icon-and-text", "icon-only"]] + }, + "type": "string" + }, + "portal_button_icon": { + "defaultValue": null, + "type": "string" + }, + "portal_button_signup_text": { + "defaultValue": "Subscribe", + "type": "string" } }, "email": { diff --git a/test/regression/api/canary/admin/settings_spec.js b/test/regression/api/canary/admin/settings_spec.js index 31b891a154..069f91b7f0 100644 --- a/test/regression/api/canary/admin/settings_spec.js +++ b/test/regression/api/canary/admin/settings_spec.js @@ -49,6 +49,9 @@ const defaultSettingsKeyTypes = [ {key: 'portal_name', type: 'portal'}, {key: 'portal_button', type: 'portal'}, {key: 'portal_plans', type: 'portal'}, + {key: 'portal_button_style', type: 'portal'}, + {key: 'portal_button_icon', type: 'portal'}, + {key: 'portal_button_signup_text', type: 'portal'}, {key: 'mailgun_api_key', type: 'bulk_email'}, {key: 'mailgun_domain', type: 'bulk_email'}, {key: 'mailgun_base_url', type: 'bulk_email'}, diff --git a/test/regression/api/v2/admin/settings_spec.js b/test/regression/api/v2/admin/settings_spec.js index 78fc2997ca..aa623a5e3c 100644 --- a/test/regression/api/v2/admin/settings_spec.js +++ b/test/regression/api/v2/admin/settings_spec.js @@ -46,6 +46,9 @@ const defaultSettingsKeyTypes = [ {key: 'portal_name', type: 'portal'}, {key: 'portal_button', type: 'portal'}, {key: 'portal_plans', type: 'portal'}, + {key: 'portal_button_style', type: 'portal'}, + {key: 'portal_button_icon', type: 'portal'}, + {key: 'portal_button_signup_text', type: 'portal'}, {key: 'mailgun_api_key', type: 'bulk_email'}, {key: 'mailgun_domain', type: 'bulk_email'}, {key: 'mailgun_base_url', type: 'bulk_email'}, diff --git a/test/regression/api/v3/admin/settings_spec.js b/test/regression/api/v3/admin/settings_spec.js index f43d7ae578..388e72f26b 100644 --- a/test/regression/api/v3/admin/settings_spec.js +++ b/test/regression/api/v3/admin/settings_spec.js @@ -49,6 +49,9 @@ const defaultSettingsKeys = [ 'portal_name', 'portal_button', 'portal_plans', + 'portal_button_style', + 'portal_button_icon', + 'portal_button_signup_text', 'mailgun_api_key', 'mailgun_domain', 'mailgun_base_url',