Fixes and cleanup for user pending/registration calls
This commit is contained in:
@@ -50,10 +50,9 @@
|
||||
|
||||
<div class="row">
|
||||
<div class="form-group col-sm-6">
|
||||
{!! Form::label('active', 'Active:') !!}
|
||||
{!! Form::label('state', 'State:') !!}
|
||||
<label class="checkbox-inline">
|
||||
{!! Form::hidden('active', 0, false) !!}
|
||||
{!! Form::checkbox('active', 1, null) !!}
|
||||
{!! Form::select('state', PilotState::labels(), null, ['class' => 'form-control select2']) !!}
|
||||
</label>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
@section('title', 'Users')
|
||||
@section('actions')
|
||||
<li><a href="{!! route('admin.users.index') !!}?search=state:0">
|
||||
<i class="ti-plus"></i>{!! PilotState::label(PilotState::PENDING) !!}</a>
|
||||
<i class="ti-user"></i>{!! PilotState::label(PilotState::PENDING) !!}</a>
|
||||
</li>
|
||||
@endsection
|
||||
|
||||
|
||||
@@ -4,5 +4,5 @@
|
||||
You will be notified as soon as your account is approved!
|
||||
|
||||
Thanks,<br>
|
||||
{{ config('app.name') }}
|
||||
Management, {{ config('app.name') }}
|
||||
@endcomponent
|
||||
|
||||
@@ -8,5 +8,5 @@ Visit your account now!
|
||||
@endcomponent
|
||||
|
||||
Thanks,<br>
|
||||
{{ config('app.name') }}
|
||||
Management, {{ config('app.name') }}
|
||||
@endcomponent
|
||||
|
||||
9
resources/views/emails/user/rejected.blade.php
Normal file
9
resources/views/emails/user/rejected.blade.php
Normal file
@@ -0,0 +1,9 @@
|
||||
@component('mail::message')
|
||||
# Hi {!! $user->name !!},
|
||||
|
||||
Your registration to our airline was denied. Please contact
|
||||
an administrator with any questions you may have.
|
||||
|
||||
Thanks,<br>
|
||||
Management, {{ config('app.name') }}
|
||||
@endcomponent
|
||||
Reference in New Issue
Block a user