43 lines
1.3 KiB
HTML
43 lines
1.3 KiB
HTML
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" data-namespace-typo3-fluid="true">
|
|
<f:layout name="Default" />
|
|
|
|
|
|
<f:section name="main">
|
|
<f:flashMessages />
|
|
|
|
<h1>Download List</h1>
|
|
<f:be.security.ifAuthenticated>
|
|
<f:then>
|
|
<f:debug>{_all}</f:debug>
|
|
DownloadCard Plugin
|
|
vitec/Resources/Private/Templates/Download/Downloadcard.html
|
|
</f:then>
|
|
</f:be.security.ifAuthenticated>
|
|
|
|
<!-- Check if a product is selected -->
|
|
<f:if condition="{product}">
|
|
<f:then>
|
|
<h2>Selected Product</h2>
|
|
<p><strong>Title:</strong> {product.title}</p>
|
|
<p><strong>Description:</strong> {product.description}</p>
|
|
</f:then>
|
|
<!-- Show a message if no product is selected -->
|
|
<f:else>
|
|
<p>No product selected.</p>
|
|
</f:else>
|
|
</f:if>
|
|
<hr />
|
|
|
|
<f:if condition="{download}">
|
|
<f:then>
|
|
<h2>Selected download</h2>
|
|
<p><strong>Title:</strong> {download.title}</p>
|
|
<p><strong>Description:</strong> {download.description}</p>
|
|
</f:then>
|
|
<f:else>
|
|
<p>No download selected.</p>
|
|
</f:else>
|
|
</f:if>
|
|
</f:section>
|
|
</html>
|