Skip to content

Commit 11ce790

Browse files
committed
[BUGFIX] Fix partials
1 parent ed61c50 commit 11ce790

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

Resources/Private/Partials/Defaults/CTypeLabel.html

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,12 @@
1010
<f:else if="{CType-label}">
1111
{CType-label}
1212
</f:else>
13+
<f:else if="{record.CType}">
14+
{f:translate(key: 'LLL:EXT:backendpreviews/Resources/Private/Language/locallang_db.xlf:CType.label')}: {record.CType -> f:format.case(mode: 'capital')}
15+
</f:else>
1316
<f:else>
14-
{f:translate(key: 'LLL:EXT:backendpreviews/Resources/Private/Language/locallang_db.xlf:CType.label')}: {CType -> f:format.case(mode: 'capital')}
17+
{f:translate(key: 'LLL:EXT:backendpreviews/Resources/Private/Language/locallang_db.xlf:CType.label')}: {CType -> f:format.case(mode: 'capital')}
1518
</f:else>
1619
</f:if>
1720

18-
</html>
21+
</html>

Resources/Private/Partials/Defaults/Header.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,6 @@
44
>
55

66
<f:if condition="{header}"><span class="b_header">{header}</span><br></f:if>
7+
<f:if condition="{record.header}"><span class="b_header">{record.header}</span><br></f:if>
78

8-
</html>
9+
</html>

Resources/Private/Partials/Defaults/Subheader.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
data-namespace-typo3-fluid="true"
44
>
55

6+
<f:if condition="{record.subheader}"><span class="b_subheader">{record.subheader}</span><br></f:if>
67
<f:if condition="{subheader}"><span class="b_subheader">{subheader}</span><br></f:if>
78

8-
</html>
9+
</html>

0 commit comments

Comments
 (0)