Added functionality to join organisations and the optional approval process
This commit is contained in:
@@ -28,6 +28,8 @@ return [
|
||||
'EDIT' => 'Edit organistion',
|
||||
'UPDATE' => 'Details updated for organistion <strong>{{name}}</strong>',
|
||||
|
||||
'JOIN_SUCCESSFUL' => 'Successfully joined organisation <strong>{{name}}</strong>',
|
||||
|
||||
'LEAVE' => 'Leave organisation',
|
||||
'LEAVE_CONFIRM' => 'Are you sure you want to leave the organisation <strong>{{name}}</strong>?',
|
||||
'LEAVE_YES' => 'Yes, leave organisation.',
|
||||
@@ -56,6 +58,8 @@ return [
|
||||
'PERMENENT_DELETE_YES' => 'Yes, permenently delete organisation',
|
||||
'PERMENENT_DELETION_SUCCESSFUL' => 'Successfully permenently deleted organisation <strong>{{name}}</strong>',
|
||||
|
||||
'NOT_A_MEMBER' => 'You are not a member of organisation <strong>{{name}}</strong>.',
|
||||
|
||||
'NAME' => [
|
||||
1 => 'Organisation name',
|
||||
|
||||
@@ -82,6 +86,22 @@ return [
|
||||
'APPROVE' => 'Approve organisation registration',
|
||||
'DENY' => 'Deny organisation registration',
|
||||
],
|
||||
'JOIN_REQUEST' => [
|
||||
'SUBMIT_SUCCESSFUL' => 'Request to join organisation <strong>{{name}}</strong> sent',
|
||||
|
||||
'CANCEL' => 'Cancel request to join organisation',
|
||||
'CANCEL_CONFIRM' => 'Are you sure you want to cancel your request to join the organisation <strong>{{name}}</strong>?',
|
||||
'CANCEL_YES' => 'Yes, cancel request',
|
||||
'CANCEL_SUCCESSFUL' => 'Successfully cancelled request to join organisation <strong>{{name}}</strong>',
|
||||
|
||||
'ALREADY_MEMBER' => 'You are already a member of the organisation <strong>{{name}}</strong>.',
|
||||
'REQUEST_PENDING' => 'You have already requested to join organisation <strong>{{name}}</strong>. Your request is awaiting approval.',
|
||||
'NO_REQUEST' => 'You have no pending requests to join organisation <strong>{{name}}</strong>.',
|
||||
|
||||
'TOKEN_NOT_FOUND' => 'User join request token does not exist / user join request has already been accepted/rejected.',
|
||||
'ACCEPTED' => 'You have successfully accepted the request from user <strong>{{user_name}}</strong> to join organisation <strong>{{organisation_name}}</strong>.',
|
||||
'REJECTED' => 'You have successfully rejected the request from user <strong>{{user_name}}</strong> to join organisation <strong>{{organisation_name}}</strong>.',
|
||||
],
|
||||
],
|
||||
|
||||
'MEMBER' => [
|
||||
|
||||
Reference in New Issue
Block a user