{% extends "base.html.twig" %} {% block meta %} {% trans %}favorite.my{% endtrans %} {% endblock %} {% block body %}

{% trans %}favorite.my_selection{% endtrans %}

{% for worker in workers %}
{% if worker.profilePicture %} {% endif %}

{{ worker.firstname }} {{ worker.lastname }}

{{ worker.company }} - {{ worker.city }} ({{ worker.zipCode }})

{% if worker.currentTranslation != "[]"%}
{{ worker.currentTranslation.miniDescription|raw }}
{% endif %}
{% set skillPropertyTypes = getSkillsByType(worker['workerSkill'], 'property-type-deco') %} {% set skillWorkTypes = getSkillsByType(worker['workerSkill'], 'style-type-deco') %} {% set prestations = getAttributesByMain(worker['workerAttribute'], 122) %} {% set maxDisplaySkills = 6 %}

{{'possession_types'|trans}}

{% for skills in skillPropertyTypes %} {% if loop.index <= maxDisplaySkills %}

{{ skills.currentTranslation.name }}

{% endif %} {% endfor %} {% if skillPropertyTypes|length > maxDisplaySkills %}

+ {{ skillPropertyTypes|length - maxDisplaySkills }}

{% endif %}

{{'style_types'|trans}}

{% for skills in skillWorkTypes %} {% if loop.index <= maxDisplaySkills %}

{{ skills.currentTranslation.name }}

{% endif %} {% endfor %} {% if skillWorkTypes|length > maxDisplaySkills %}

+ {{ skillWorkTypes|length - maxDisplaySkills }}

{% endif %}

{{'prestations'|trans}}

{% for prestation in prestations %} {% if loop.index <= maxDisplaySkills %}

{{ prestation.currentTranslation.name }}

{% endif %} {% endfor %} {% if prestations|length > maxDisplaySkills %}

+ {{ prestations|length - maxDisplaySkills }}

{% endif %}

{% trans %}saved{% endtrans %} {% trans %}save{% endtrans %}

{% trans %}learn_more{% endtrans %}
{% if loop.index == displayFindBlock %}

{{'pageBtoC.dont_find'|trans|raw}}

{{'pageBtoC.we_find_it'|trans}}

{{'pageBtoC.architect_callback_sr'|trans|raw}}

{{'footer.lets_go'|trans}}
{% endif %} {% endfor %} {% if nbWorkers > limitQuery %}
    {% if (offsetQuery+1) > 1 %}
  • {% endif %} {% if nbStartPaginate > 1 %}
  • 1
  • {% if offsetQuery + 1 > nbMaxPaginate %}
  • ...
  • {% endif %} {% endif %} {% for paginate in nbStartPaginate..nbPaginate %}
  • {{ paginate }}
  • {% endfor %} {% if nbPages > nbPaginate %} {% if offsetQuery + 1 <= nbPages - nbMaxPaginate %}
  • ...
  • {% endif %}
  • {{ nbPages }}
  • {% endif %} {% if (offsetQuery+1) < nbPages %}
  • {% endif %}
{% endif %} {% if nbWorkers == 0 %}

{% trans %}favorite.nothing{% endtrans %}

{% endif %}
{#
{{'search'|trans}}
{{'pageBtoC.architect_callback_sr_bis'|trans|raw}} {{'footer.lets_go'|trans}}
#}
{% endblock body %} {% block javascripts %} {% endblock %}