{% if currentPath != path('admin_user_view', {'id': user.id}) %} {% endif %} {% if user.isDesactivated %} {% else %} {% endif %}