Join requests now present an "are you sure?" modal

This commit is contained in:
2022-03-08 16:11:09 +00:00
parent 52b5a880b2
commit a07ec92546
5 changed files with 96 additions and 35 deletions

View File

@@ -31,6 +31,10 @@ return [
'EDIT' => 'Edit organistion',
'UPDATE' => 'Details updated for organistion <strong>{{name}}</strong>',
'JOIN' => 'Join organisation',
'JOIN_CONFIRM' => 'Are you sure you want to join the organisation <strong>{{name}}</strong>?',
'JOIN_YES' => 'Yes, join organisation.',
'JOIN_SUCCESSFUL' => 'Successfully joined organisation <strong>{{name}}</strong>',
'LEAVE' => 'Leave organisation',
@@ -93,11 +97,12 @@ return [
'DENY' => 'Deny organisation registration',
],
'JOIN_REQUEST' => [
'SUBMIT_SUCCESSFUL' => 'Request to join organisation <strong>{{name}}</strong> sent',
'ALREADY_IN_ONE' => 'You cannot join another organisation because you are already in one (only one organisation allowed).',
'REQUEST' => 'Request to join organisation',
'REQUEST_CONFIRM' => 'Are you sure you want to request to join the organisation <strong>{{name}}</strong>?',
'APPROVAL_REQUIRED' => 'Joining organisations requires approval. You will receive an email once your join request has been approved.',
'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>?',