{namespace vh=Newland\NeosViewHelpers\ViewHelpers}

<div class="tb-gallery-labels">
    <f:if condition="{article.flatAttributes.panorama}">
        <a href="{article.flatAttributes.panorama.data.0}"
            class="tb-gallery-labels__label"
            target="_blank"
            rel="nofollow">

            <img
            src="{f:uri.resource(path: 'Images/Labels/360view.svg', package: 'Newland.Toubiz.Poi.Neos')}"
            alt="" />

            <span class="sr-only">
                {f:translate(id: '360view', package: 'Newland.Toubiz.Poi.Neos', source: 'Views/Show')}
            </span>
        </a>
    </f:if>

    <f:if condition="{article.flatAttributes.flight3d}">
        <a href="{article.flatAttributes.flight3d.data.0}"
            class="tb-gallery-labels__label"
            target="_blank"
            rel="nofollow">

            <img
            src="{f:uri.resource(path: 'Images/Labels/3d-flight.svg', package: 'Newland.Toubiz.Poi.Neos')}"
            alt="" />

            <span class="sr-only">
                {f:translate(id: '3dFlight', package: 'Newland.Toubiz.Poi.Neos', source: 'Views/Show')}
            </span>
        </a>
    </f:if>
</div>
