|
14 | 14 | data-namespace-typo3-fluid="true"> |
15 | 15 |
|
16 | 16 | {configObject.wrap -> kitodo:metadataWrapVariable(name: 'metadataWrap')} |
17 | | -<f:variable name="metaSectionCObj" value="{metaCObjData.{sectionIterator.index}}" /> |
| 17 | +<f:variable name="metaSectionConfigObject" value="{metaConfigObjectData.{sectionIterator.index}}" /> |
18 | 18 |
|
19 | 19 | <f:variable name="wrappedValues"><f:spaceless> |
20 | 20 | <f:if condition="{kitodo:isArray(subject: '{documentMetadataSection.{configObject.indexName}}')}"> |
|
32 | 32 | <f:else> |
33 | 33 | <f:if condition="{kitodo:isArray(subject: '{value}')}"> |
34 | 34 | <f:then> |
35 | | - <kitodo:stdWrap wrap="{metadataWrap.value}" data="{metaSectionCObj}"> |
| 35 | + <kitodo:stdWrap wrap="{metadataWrap.value}" data="{metaSectionConfigObject}"> |
36 | 36 | <f:for each="{value}" key="key" iteration="subiterator" as="val"> |
37 | 37 | <f:for each="{configObject.format.0.subentries}" as="subentry"> |
38 | 38 | <f:if condition="{subentry.indexName} === {key}"> |
39 | 39 | <f:variable name="subConfigObject">{subentry}</f:variable> |
40 | 40 | {subConfigObject.wrap -> kitodo:metadataWrapVariable(name: 'subMetadataWrap')} |
41 | | - <kitodo:stdWrap wrap="{subMetadataWrap.all}" data="{metaSectionCObj}"> |
42 | | - <kitodo:stdWrap wrap="{subMetadataWrap.key}" data="{metaSectionCObj}">{subConfigObject.label}</kitodo:stdWrap> |
| 41 | + <kitodo:stdWrap wrap="{subMetadataWrap.all}" data="{metaSectionConfigObject}"> |
| 42 | + <kitodo:stdWrap wrap="{subMetadataWrap.key}" data="{metaSectionConfigObject}">{subConfigObject.label}</kitodo:stdWrap> |
43 | 43 | <f:for each="{val}" as="subvalue"> |
44 | | - <kitodo:stdWrap wrap="{subMetadataWrap.value}" data="{metaSectionCObj}"> |
| 44 | + <kitodo:stdWrap wrap="{subMetadataWrap.value}" data="{metaSectionConfigObject}"> |
45 | 45 | {subvalue} |
46 | 46 | </kitodo:stdWrap> |
47 | 47 | </f:for> |
|
52 | 52 | </kitodo:stdWrap> |
53 | 53 | </f:then> |
54 | 54 | <f:else> |
55 | | - <kitodo:stdWrap wrap="{metadataWrap.value}" data="{metaSectionCObj}">{value}</kitodo:stdWrap> |
| 55 | + <kitodo:stdWrap wrap="{metadataWrap.value}" data="{metaSectionConfigObject}">{value}</kitodo:stdWrap> |
56 | 56 | </f:else> |
57 | 57 | </f:if> |
58 | 58 | </f:else> |
59 | 59 | </f:if> |
60 | 60 | </f:for> |
61 | 61 | </f:then> |
62 | 62 | <f:else> |
63 | | - <kitodo:stdWrap wrap="{metadataWrap.value}" data="{metaSectionCObj}">{documentMetadataSection.{configObject.indexName}}</kitodo:stdWrap> |
| 63 | + <kitodo:stdWrap wrap="{metadataWrap.value}" data="{metaSectionConfigObject}">{documentMetadataSection.{configObject.indexName}}</kitodo:stdWrap> |
64 | 64 | </f:else> |
65 | 65 | </f:if> |
66 | 66 | </f:spaceless></f:variable> |
67 | 67 |
|
68 | 68 | <f:if condition="{wrappedValues}"> |
69 | | - <kitodo:stdWrap wrap="{metadataWrap.all}" data="{metaSectionCObj}"> |
70 | | - <kitodo:stdWrap wrap="{metadataWrap.key}" data="{metaSectionCObj}">{configObject.label}</kitodo:stdWrap> |
| 69 | + <kitodo:stdWrap wrap="{metadataWrap.all}" data="{metaSectionConfigObject}"> |
| 70 | + <kitodo:stdWrap wrap="{metadataWrap.key}" data="{metaSectionConfigObject}">{configObject.label}</kitodo:stdWrap> |
71 | 71 | {wrappedValues -> f:format.raw()} |
72 | 72 | </kitodo:stdWrap> |
73 | 73 | </f:if> |
0 commit comments