{% extends 'frontend.html.twig' %} {% block body -%} {% if app.user and is_granted("ROLE_EDITOR") %}
Editar CA Editar ES Editar EN Eliminar
{% endif %}
{% include 'Personal/personal.html.twig' with {'entity': entity } %}
{% if app.user and is_granted("ROLE_EDITOR") %}
Afegir projecte
{% endif %} {% if projectes|length > 0 %}

{{ 'personal.projectes' |trans({}, 'app') }}

{% endif %}
{% for grup in projectes %}

{{ grup.nom }}

{% for projecte in grup.projectes %}
{% include 'Projecte/projecte.html.twig' with { 'entity': projecte, 'personal': entity.id } %}
{% endfor %} {% endfor %}
{% if app.user and is_granted("ROLE_EDITOR") %}
Afegir publicació
{% endif %} {% if publicacions|length > 0 %}

{{ 'personal.publicacions' |trans({}, 'app') }}

{% endif %}
{% for grup in publicacions %}

{{ grup.nom }}

{% for publicacio in grup.publicacions %}
{% include 'Publicacio/publicacio.html.twig' with { 'entity': publicacio, 'personal': entity.id } %}
{% endfor %} {% endfor %}
{% if app.user and is_granted("ROLE_EDITOR") %}
Afegir docència
{% endif %} {% if docencies|length > 0 %}

{{ 'personal.docencia' |trans({}, 'app') }}

{% endif %} {% for docencia in docencies %}
{% include 'Docencia/docencia.html.twig' with {'entity': docencia, 'personal': entity.id } %}
{% endfor %} {% endblock %}