SOS-2156 Remove leave site button in sites directory when member is associated via user group/organization
SOS-2156 Remove join site button when member is associated via user group/organization
SOS-2156 Source formatting
SOS-2156 Fix compilation error
SOS-2156 Adjust UI display
SOS-2156 Add organization member check
LPS-45238 Passing the failure function directly as done elsewhere in javascript.js