this.message='A manager has the right to access the administration part of Research Community Dashboard, '+
'where he is able to customize and manage the content, invite other users as managers or members.';
if(community.status ==="hidden"){
if(community.isPrivate()){
this.inviteDisableMessage="Community's status is Hidden and invitation to manage the Research community dashboard is disabled. Update the community status to enable invitations."
this.message='A member can access the community dashboard and link research results with projects, '+
'communities and other research projects.';
if(community.status!=="all"){
this.inviteDisableMessage="Community's status is "+(community.status ==='manager'?'Visible to managers':'Hidden')+" and invitation to join the Research community dashboard is disabled. Update the community status to enable invitations."
if(!community.isPublic()){
this.inviteDisableMessage="Community's status is "+(community.isRestricted()?'Visible to managers':'Hidden')+" and invitation to join the Research community dashboard is disabled. Update the community status to enable invitations."