{namespace vh=Newland\NeosViewHelpers\ViewHelpers}
{namespace common=Newland\Toubiz\Common\Neos\ViewHelpers}

<common:slot.render slot="aboveListResults" context="{ articles: articles, filter: filter }" />

<vh:render renderable="{filter.statusIndicators}" />

<div class="mb-6 sm:flex">
    <p class="flex-shrink-0 block sm:inline">
        <span class="font-bold mr-1">{pagination.count.items}</span>
        <vh:translate
            id="filters.results"
            package="Newland.Toubiz.Poi.Neos"
            source="Views/FilteredLists"/>

    </p>
</div>

<f:if condition="{articles -> f:count()} > 0">
    <f:then>
        <vh:render
            partial="FilteredLists/FilteredList"
            arguments="{
                articles: articles,
                pagination: pagination,
                targetNode: targetNode,
                node: node,
                query: query,
                layout: layout
            }"/>

    </f:then>
    <f:else>
        <p>Für Ihre Suche konnten leider keine Ergebnisse gefunden werden</p>
    </f:else>
</f:if>
<common:slot.render slot="belowListResults" context="{ articles: articles, filter: filter }" />
