Skip to content

Commit 18c339b

Browse files
committed
1 parent e0d9f72 commit 18c339b

File tree

1 file changed

+18
-4
lines changed

1 file changed

+18
-4
lines changed
Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,21 @@
1+
<html
2+
xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers"
3+
data-namespace-typo3-fluid="true"
4+
>
15
<p>
2-
<strong><f:translate key="LLL:EXT:cta/Resources/Private/Language/locallang_db.xlf:cewizard.title" /></strong><br>
3-
{f:if(condition: tx_cta_linklabel, then: tx_cta_linklabel, else: 'Link')}: {tx_cta_link}
4-
<f:if condition="{tx_cta_linkconfig}">
5-
<br><i>Layout: {tx_cta_linkconfig}</i>
6+
<f:if condition="{record}">
7+
<f:then>
8+
<f:render section="cta" arguments="{link: record.tx_cta_link.url, linklabel: record.tx_cta_linklabel, linkconfig: record.tx_cta_linkconfig}" />
9+
</f:then>
10+
<f:else>
11+
<f:render section="cta" arguments="{link: tx_cta_link, linklabel: tx_cta_linklabel, linkconfig: tx_cta_linkconfig}" />
12+
</f:else>
613
</f:if>
14+
715
</p>
16+
<f:section name="cta">
17+
{f:if(condition: linklabel, then: linklabel, else: 'Link')}: {link}
18+
<f:if condition="{linkconfig}">
19+
<br><i>Layout: {linkconfig}</i>
20+
</f:if>
21+
</f:section>

0 commit comments

Comments
 (0)