{% extends "ClarolineCoreBundle:Desktop:layout.html.twig" %} {% block title %}{{ 'my_profile'|trans({}, 'platform') ~ ' - ' ~ user.getLastName() ~ ' ' ~ user.getFirstName() | striptags | raw }}{% endblock %} {% set canEdit = (app.user is not null and user.getId() == app.user.getId()) or is_granted('ROLE_ADMIN') %} {% block content %} {{ macros.flashBox() }}
{% if canEdit %} {% endif %}

{{ 'user_profile'|trans({}, 'platform') }}

{% include "ClarolineCoreBundle:Profile:privateProfileGeneralTab.html.twig" with {'user': user, 'profileLinks': links} %}
{% for facet in facets %} {% include "ClarolineCoreBundle:Profile:facetPane.html.twig" with {'facet': facet, 'fieldFacetValues': fieldFacetValues, 'fieldFacets': fieldFacets} %} {% endfor %}
{% endblock %} {% block javascripts %} {{ parent() }} {% endblock %}