{% load i18n thumbnail %}

<a href="#" class="reference_list__item">
    <div class="reference_list__item__image__main">
        {% if instance.thumbnail %}
            {% thumbnail instance.thumbnail 460x576 box=instance.cropping crop detail as thumb %}
            <img class="reference_list__item__image scroll" data-ease-multiplier="-1"
                 src="{{ thumb.url }}" width="{{ thumb.width }}" height="{{ thumb.height }}">
        {% endif %}
    </div>
    {% if instance.vimeo_id %}
        <span class="video__play">
            {% include 'project/assets/play.svg' %}
            {% trans 'Video Abspielen' %}
        </span>
    {% endif %}
</a>