From 13c8d0fa886d767db87a9388d4e0402eda265b60 Mon Sep 17 00:00:00 2001 From: Alexander Opitz Date: Wed, 28 Feb 2024 18:41:03 +0100 Subject: [PATCH] [BUGFIX] Sheets in BE Preview Better support for sheets with subcontent Resolves: #545 Release: 12.0.1 --- .../DoktypeDefaultHandler/Node/Childs.html | 45 ++++++++++++++----- .../Node/ChildsTable.html | 15 ++++++- 2 files changed, 47 insertions(+), 13 deletions(-) diff --git a/Resources/Private/Partials/Backend/Handler/DoktypeDefaultHandler/Node/Childs.html b/Resources/Private/Partials/Backend/Handler/DoktypeDefaultHandler/Node/Childs.html index d8e0c3b7d..97c7ffbea 100644 --- a/Resources/Private/Partials/Backend/Handler/DoktypeDefaultHandler/Node/Childs.html +++ b/Resources/Private/Partials/Backend/Handler/DoktypeDefaultHandler/Node/Childs.html @@ -1,7 +1,7 @@ - - - - + + + + @@ -14,10 +14,33 @@ /> - - - - - - - + + + + +
+ 0 + + + {count + 1} + + + + {f:variable(name: 'colwidthclass', value: 'col col-lg-12')} + {f:variable(name: 'colwidthclass', value: 'col col-lg-6')} + {f:variable(name: 'colwidthclass', value: 'col col-lg-4')} + {f:variable(name: 'colwidthclass', value: 'col col-lg-3')} + {f:variable(name: 'colwidthclass', value: 'col col-lg-2')} + {f:variable(name: 'colwidthclass', value: 'col')} + + + +
+ +
+
+
+
+
+ + diff --git a/Resources/Private/Partials/Backend/Handler/DoktypeDefaultHandler/Node/ChildsTable.html b/Resources/Private/Partials/Backend/Handler/DoktypeDefaultHandler/Node/ChildsTable.html index 678ac0202..d7e967de9 100644 --- a/Resources/Private/Partials/Backend/Handler/DoktypeDefaultHandler/Node/ChildsTable.html +++ b/Resources/Private/Partials/Backend/Handler/DoktypeDefaultHandler/Node/ChildsTable.html @@ -21,14 +21,17 @@ {childFlexformData.{fieldKey}.vDEF}
- > + - {subFieldConfig.config.foreign_table}{subFieldConfig.config.allowed}.{fieldKey} + NoField.{fieldKey} + + {subFieldConfig.config.foreign_table}{subFieldConfig.config.allowed}.{fieldKey} + @@ -72,6 +75,14 @@ + + + + + + + +