From 2069a25f30f9fc475906181480ab1c09a6bcfa79 Mon Sep 17 00:00:00 2001 From: yuri Date: Fri, 18 Nov 2016 11:31:25 +0200 Subject: [PATCH] b2c mode in settings --- application/Espo/Resources/i18n/en_US/Settings.json | 6 ++++-- application/Espo/Resources/layouts/Settings/settings.json | 2 +- .../Espo/Resources/metadata/entityDefs/Settings.json | 3 ++- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/application/Espo/Resources/i18n/en_US/Settings.json b/application/Espo/Resources/i18n/en_US/Settings.json index afb4c208d5..e0a8af5a6e 100644 --- a/application/Espo/Resources/i18n/en_US/Settings.json +++ b/application/Espo/Resources/i18n/en_US/Settings.json @@ -84,7 +84,8 @@ "mentionEmailNotifications": "Send email notifications about mentions in posts", "massEmailDisableMandatoryOptOutLink": "Disable mandatory opt-out link", "activitiesEntityList": "Activities Entity List", - "historyEntityList": "History Entity List" + "historyEntityList": "History Entity List", + "b2cMode": "B2C Mode" }, "options": { "weekStart": { @@ -121,7 +122,8 @@ "ldapAccountDomainName": "The domain which is used for authorization to LDAP server.", "ldapAccountDomainNameShort": "The short domain which is used for authorization to LDAP server.", "ldapUserTeams": "Teams for created user. For more, see user profile.", - "ldapUserDefaultTeam": "Default team for created user. For more, see user profile." + "ldapUserDefaultTeam": "Default team for created user. For more, see user profile.", + "b2cMode": "By default EspoCRM is adapted for B2B. You can switch it to B2C." }, "labels": { "System": "System", diff --git a/application/Espo/Resources/layouts/Settings/settings.json b/application/Espo/Resources/layouts/Settings/settings.json index 931357df20..e1f5be7b61 100644 --- a/application/Espo/Resources/layouts/Settings/settings.json +++ b/application/Espo/Resources/layouts/Settings/settings.json @@ -4,7 +4,7 @@ "rows": [ [{"name": "useCache"}, {"name": "siteUrl"}], [{"name": "exportDisabled"}, {"name": "globalSearchEntityList"}], - [{"name": "followCreatedEntities"}, false] + [{"name": "followCreatedEntities"}, {"name": "b2cMode"}] ] }, { diff --git a/application/Espo/Resources/metadata/entityDefs/Settings.json b/application/Espo/Resources/metadata/entityDefs/Settings.json index a02b605d06..4aadd3c0da 100644 --- a/application/Espo/Resources/metadata/entityDefs/Settings.json +++ b/application/Espo/Resources/metadata/entityDefs/Settings.json @@ -306,7 +306,8 @@ }, "b2cMode": { "type": "bool", - "default": false + "default": false, + "tooltip": true }, "avatarsDisabled": { "type": "bool",