{% set picture = testimonial.getWebPicture() %}
<article class="item has-round-picture">
    <header class="item-header">
        <div class="figure" style="background-image: url({% if picture is not empty %}{{ asset(picture|imagine_filter('250Lx250H'))|replace({' ' : '%20'}) }}{% endif %});"></div>
        <h3 class="item-title h6 text-no-transform">
            {{ testimonial.witness }}
        </h3>
        <p class="item-occupation text-small">{{ testimonial.occupation }}</p>
    </header>
    <div class="item-content">
        <div class="item-desc quote">{{ include('Front/_component/icon.html.twig', {id: 'quote', class:'icon-quote'}) }}{{ testimonial.content|striptags|truncate(120, false, '…')|raw }}</div>

        {% if testimonial.content|striptags|length > 120 %}
        <footer class="item-more-actions">
            <p>
                <a class="btn btn-xs btn-white" href="{{ path('single_testimonial', {idlevel1:menu.id, titlelevel1:menu.slug, id:testimonial.id, title: testimonial.witness|lower|replace({' ':'-'})|url_encode}) }}" rel="nofollow">
                    {{ 'word.learn_more'|trans({}, 'word') }}
                </a>
            </p>
        </footer>
        {% endif %}
    </div>
</article>