Multiple ticket crash fixes (#347)

* Fix for initial seed data not being run during install closes #346

* StyleCI keepin' me honest

* Tooltips for ranks
This commit is contained in:
Nabeel S
2019-08-07 12:32:49 -04:00
committed by GitHub
parent e12188b7d3
commit 5cce1b3040
5 changed files with 84 additions and 47 deletions

View File

@@ -12,8 +12,11 @@ return [
'name' => '$SITE_NAME$',
'url' => '$SITE_URL$',
# Don't forget to change these when live
// When live, 'env' should be 'prod'
'env' => 'prod',
// debug as true shows the Laravel debug bar, which is helpful for
// debugging templates and other internals
'debug' => false,
],
@@ -71,7 +74,7 @@ return [
'default' => env('DB_CONNECTION', '$DB_CONN$'),
'connections' => [
'mysql' => [
'host' => '$DB_HOST$',
'host' => env('DB_HOST', '$DB_HOST$'),
'port' => $DB_PORT$,
'database' => '$DB_NAME$',
'username' => '$DB_USER$',

View File

@@ -50,35 +50,50 @@
<div class="form-container-body">
<div class="row">
<!-- Auto Approve Acars Field -->
<div class="form-group col-sm-4 text-center">
<div class="form-group col-sm-4">
<div class="checkbox">
<label class="checkbox-inline">
{{ Form::hidden('auto_approve_acars', false) }}
{{ Form::checkbox('auto_approve_acars') }}
{{ Form::label('auto_approve_acars', 'Auto Approve ACARS PIREPs') }}
</label>
<div style="margin-left: 10px">
@component('admin.components.info')
PIREPS submitted through ACARS are automatically accepted
@endcomponent
</div>
</div>
</div>
<!-- Auto Approve Manual Field -->
<div class="form-group col-sm-4 text-center">
<div class="form-group col-sm-4">
<div class="checkbox">
<label class="checkbox-inline">
{{ Form::hidden('auto_approve_manual', false) }}
{{ Form::checkbox('auto_approve_manual') }}
{{ Form::label('auto_approve_manual', 'Auto Approve Manual PIREPs') }}
</label>
<div style="margin-left: 10px">
@component('admin.components.info')
PIREPS submitted manually are automatically accepted
@endcomponent
</div>
</div>
</div>
<!-- Auto Promote Field -->
<div class="form-group col-sm-4 text-center">
<div class="form-group col-sm-4">
<div class="checkbox">
<label class="checkbox-inline">
{{ Form::hidden('auto_promote', false) }}
{{ Form::checkbox('auto_promote') }}
{{ Form::label('auto_promote', 'Auto Promote') }}
</label>
<div style="margin-left: 10px">
@component('admin.components.info')
When a pilot reaches these hours, they'll be upgraded to this rank
@endcomponent
</div>
</div>
</div>
</div>