{% if is_granted('ROLE_SUPER_ADMIN')%}
  {{'home.projects' | trans}}
{% endif %}
{% for project in projects.projects %}
{{project.proyecto}}
{% for module in modules.modules %} {% if project.idproyectos == module.idproyectos %} {% if is_granted(module.rol)%}
{% if module.extraData is defined %} {% if module.extraData == true %}
{{module.modulo | trans}}
{% else %}
{{module.modulo | trans}}
{% endif %} {% else %}
{{module.modulo | trans}}
{% endif %}
{%endif%} {%endif%} {%endfor%}
{% endfor %}
{{'home.profile' | trans}}
  {{'home.logout' | trans}}
{#
1
2
3
4
...
#}