ac64a5db75
* Migrate all configs into the env.php file #1075 * Style fixes * Fix config names in CreateConfig * Fix installer/installer error messages
21 lines
626 B
PHP
21 lines
626 B
PHP
@foreach (collect(session('flash_notification', collect()))->toArray() as $message)
|
|
@if (is_string($message))
|
|
<div class="alert alert-error">{!! $message !!}</div>
|
|
@else
|
|
<div class="alert alert-{{ $message['level'] }}
|
|
{{ $message['important'] ? 'alert-important' : '' }}"
|
|
role="alert">
|
|
@if ($message['important'])
|
|
<button type="button"
|
|
class="close"
|
|
data-dismiss="alert"
|
|
aria-hidden="true">×</button>
|
|
@endif
|
|
|
|
{!! $message['message'] !!}
|
|
</div>
|
|
@endif
|
|
@endforeach
|
|
|
|
{{ session()->forget('flash_notification') }}
|