{% extends 'base.html.twig' %} {% block title %}Portalents - Profile{% endblock %} {% block body %}
{% if profile.status.name is same as('candidat') %}
{{ profile.status.name }}
{% elseif profile.status.name is same as('collaborateur') %} {% if profile.disponibility is same as(true) %}
{{ profile.status.name }}
{% else %}
{{ profile.status.name }}
{% endif %} {% else %}
{{ profile.status.name }}
{% endif %}
{{ profile.firstname ~ ' ' ~ profile.lastname }}
{% if (user.date|format_datetime('short', 'none', locale='fr')) is same as('now'|date('d/m/Y')) %}

Bon Anniversaire !!

{% endif %}
{{ profile.profession.name }}
  • Compétences {{ skills|length}}
  • Expériences {{ experiences|length}}
  • Documents {{ documents|length}}
{{ profile.adress ~ ', ' ~ profile.postal ~ ' ' ~ profile.town }}
{% if profile.email is not null %} {% endif %} {% if profile.user is not null %} {% endif %}
{# ACCORDEON #}
{# SLIDE 'COMPETENCES' #}
{% for category in categories %}

{% for skill in skills %} {% if skill.skill.category.name is same as(category.name) %} {% if skill.appreciation %}
{{ skill.skill.name }}

Niveau : {{ skill.level.status }}

{% if is_granted('ROLE_COLLABORATEUR') or is_granted('ROLE_ADMIN') %} {% endif %}
{% else %}
{{ skill.skill.name }}

Niveau : {{ skill.level.status }}

{% if is_granted('ROLE_COLLABORATEUR') or is_granted('ROLE_ADMIN') %} {% endif %}
{% endif %} {% endif %} {% endfor %}
{% endfor %}
{% if is_granted('ROLE_COLLABORATEUR') or is_granted('ROLE_ADMIN') %} {% endif %}
{# SLIDE 'EXPERIENCES' #}
{% for experience in experiences %}

{{ experience.context ~ ' - ' ~ experience.techEnv }}

type d'expérience : {{ experience.type.name }}
réalisation : {{ experience.achievement }}

{{ experience.description }}

{% if is_granted('ROLE_COLLABORATEUR') or is_granted('ROLE_ADMIN') %} {% endif %}
{% endfor %}
{# SLIDE 'DOCUMENTS' #}
{% for documentType in documentTypes %}

{% for document in documents %} {% if document.type.name is same as(documentType.name) %}
{{ document.name }}

{{ document.date|format_datetime('short', 'none', locale='fr') }}

{% if is_granted('ROLE_COLLABORATEUR') %} {% endif %}
{% endif %} {% endfor %}
{% endfor %}
{% endblock %}