chore: revoke conditional rendering of course teaser

This commit is contained in:
Björn Fromme
2024-11-15 15:23:20 +01:00
parent ba82d8d80b
commit 40a4e51f20
@@ -113,16 +113,7 @@
</div> </div>
<div class="container px-4 lg:px-24 flex flex-col space-y-16 pb-16"> <div class="container px-4 lg:px-24 flex flex-col space-y-16 pb-16">
<f:for each="{travelinfo.teasers}" as="teaser"> <f:for each="{travelinfo.teasers}" as="teaser">
<f:if condition="{teaser.category} == 'course'"> <f:render section="Teaser" arguments="{_all}"/>
<f:then>
<f:if condition="{date.coursesIncluded -> f:count()} > 0">
<f:render section="Teaser" arguments="{_all}"/>
</f:if>
</f:then>
<f:else>
<f:render section="Teaser" arguments="{_all}"/>
</f:else>
</f:if>
</f:for> </f:for>
</div> </div>
<div id="goodtoknow" class="bg-ep-primary-bg"> <div id="goodtoknow" class="bg-ep-primary-bg">