{namespace neos=Neos\Neos\ViewHelpers}
{namespace poi=Newland\Toubiz\Poi\Neos\ViewHelpers}
{namespace vh=Newland\NeosViewHelpers\ViewHelpers}

<poi:link.article
    article="{article}"
    class="tb-teaser"
    additionalAttributes="{
        itemscope: 'itemscope',
        itemtype: 'http://schema.org/Store',
        itemid: 'urn:uuid:{article.persistenceObjectIdentifier}'
    }">

    <f:render section="content" arguments="{_all}" />
</poi:link.article>

<f:section name="content">
    <f:render partial="PointOfInterests/Teaser/Common/Image" arguments="{_all}"/>

    <div class="tb-teaser__text">
        <f:render partial="PointOfInterests/Teaser/Common/Topline" arguments="{_all}"/>

        <f:if condition="{article.openingTimes}">
            <f:render partial="PointOfInterests/OpeningTimes"
                      arguments="{article: article, displayTable: 0}"/>
        </f:if>
    </div>
</f:section>
