LPS-39996 Revert changes made in ticket LPS-36622 because it's already fixed in LPS-38516
LPS-39996 Revert changes of ticket LPS-39635 for the same reason as previous commit
LPS-39996 As the nav items aren't displayed, we may not have the addButtonContainer in some folders so we need ot change the js to use other target to replace content
LPS-38516 Fix source formatting (we need the trim because we don't want to display the nav when we have empty spaces or /n )
LPS-38516 Fix NPE
LPS-38027 Avoid the exception stack trace (and even de log message) because they are useless (the exception is too easily throwable).
LPS-38027 Show the drive error image and repository title only to group or company administrators
LPS-38027 Show a more specific error message to the admin
LPS-38027 Source formatting
LPS-38027 Avoid the icon to show a title
LPS-38027