Remove unused and defunct code
This commit is contained in:
+3
-27
@@ -22,37 +22,13 @@
|
||||
<div>
|
||||
<div class="teaser-title">Angebot</div>
|
||||
<div class="content">
|
||||
<f:if condition="{product}">
|
||||
<f:then>
|
||||
<span class="headline headline--4">{product.name}</span>
|
||||
<span>{product.region.name}</span>
|
||||
</f:then>
|
||||
<f:else>
|
||||
<span class="headline headline--4">{data.header}</span>
|
||||
</f:else>
|
||||
</f:if>
|
||||
<span class="headline headline--4">{data.header}</span>
|
||||
<hr>
|
||||
<f:if condition="{data.bodytext}">
|
||||
<f:then>
|
||||
{data.bodytext -> f:format.nl2br()}
|
||||
</f:then>
|
||||
<f:else>
|
||||
<p>{date.nights} Nächte{f:if(condition: product.skipassIncluded, then: ' inkl. Skipass')}<br>z. B. am {date.dateStart -> f:format.date(format: 'd.m.Y')}</p>
|
||||
</f:else>
|
||||
</f:if>
|
||||
<f:if condition="{product}">
|
||||
<hr>
|
||||
<p><strong>ab {date.minPrice}€</strong>{f:if(condition: date.pseudoPrice, then: ' <s>{date.pseudoPrice} €</s>')}</p>
|
||||
</f:if>
|
||||
{data.bodytext -> f:format.nl2br()}
|
||||
</div>
|
||||
</div>
|
||||
<f:if condition="{data.header_link}">
|
||||
<f:then>
|
||||
<a class="btn btn-warning" href="{f:uri.typolink(parameter: data.header_link)}" title="{product.name}">Details</a>
|
||||
</f:then>
|
||||
<f:else>
|
||||
<a class="btn btn-warning" href="{ep:uri.product(product: product, hotel: hotel, linkHotel: linkHotel)}" title="{product.name}">Details</a>
|
||||
</f:else>
|
||||
<a class="btn btn-warning" href="{f:uri.typolink(parameter: data.header_link)}" title="{product.name}">Details</a>
|
||||
</f:if>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user