Skip to content

EspoCRM – Open Source CRM Application

Content width dynamic logic

Yurii88974e3288bf
diff --git a/application/Espo/Resources/metadata/logicDefs/Preferences.json b/application/Espo/Resources/metadata/logicDefs/Preferences.json
index fde7f141e5..2383375e57 100644
--- a/application/Espo/Resources/metadata/logicDefs/Preferences.json
+++ b/application/Espo/Resources/metadata/logicDefs/Preferences.json
@@ -40,5 +40,52 @@
]
}
}
+ },
+ "options": {
+ "recordContentWidth": [
+ {
+ "conditionGroup": [
+ {
+ "attribute": "pageContentWidth",
+ "type": "isEmpty"
+ }
+ ],
+ "optionList": [
+ "",
+ "Full"
+ ]
+ },
+ {
+ "conditionGroup": [
+ {
+ "attribute": "pageContentWidth",
+ "type": "in",
+ "value": [
+ "Wide"
+ ]
+ }
+ ],
+ "optionList": [
+ "",
+ "Full"
+ ]
+ },
+ {
+ "conditionGroup": [
+ {
+ "attribute": "pageContentWidth",
+ "type": "in",
+ "value": [
+ "Full"
+ ]
+ }
+ ],
+ "optionList": [
+ "",
+ "Wide",
+ "Full"
+ ]
+ }
+ ]
}
}