<div class="my-3 p-3 bg-white rounded">
<h6 class="widget-page-title border-bottom border-gray pb-2 mb-2">
{{ 'People I worked with'|trans({}, 'profile_widget') }}
</h6>
{% if viewersProfiles|length or commonProfiles|length or profiles|length %}
<div class="row-cols-3 row-cols-md-6">
{% for profile in viewersProfiles %}
<figure class="figure">
<a href="{{ path('profile', {slug: profile.slug}) }}" title="{{ profile.name }}" data-toggle="tooltip">
<img src="{{ asset(get_profile_avatar(profile)) }}" class="rounded figure-img img-fluid ">
<figcaption class="figure-caption text-center">{{ profile.name }}</figcaption>
</a>
</figure>
{% endfor %}
{% for profile in commonProfiles %}
<figure class="figure">
<a href="{{ path('profile', {slug: profile.slug}) }}" title="{{ profile.name }}" data-toggle="tooltip">
<img src="{{ asset(get_profile_avatar(profile)) }}" class="rounded figure-img img-fluid ">
<figcaption class="figure-caption text-center">{{ profile.name }}</figcaption>
</a>
</figure>
{% endfor %}
{% for profile in profiles %}
<figure class="figure">
<a href="{{ path('profile', {slug: profile.slug}) }}" title="{{ profile.name }}" data-toggle="tooltip">
<img src="{{ asset(get_profile_avatar(profile)) }}" class="rounded figure-img img-fluid ">
<figcaption class="figure-caption text-center">{{ profile.name }}</figcaption>
</a>
</figure>
{% endfor %}
</div>
{% if moreLink %}
<div class="d-block text-right mt-3">
<a href="{{ path('profile_credits', {slug: profile.slug}) }}" role="button" class="btn btn-sm btn-success">
{{ 'More profiles'|trans({}, 'profile_widget') }}
</a>
</div>
{% endif %}
{% else %}
<p class="text-center">{{ 'No collabs validated so far on this platform'|trans({}, 'profile_widget') }}</p>
{% endif %}
</div>