2017-12-15 06:38:29 +08:00
|
|
|
@if (session()->has('flash_notification.message'))
|
|
|
|
@if (session()->has('flash_notification.overlay'))
|
|
|
|
@include('flash::modal', [
|
|
|
|
'modalClass' => 'flash-modal',
|
|
|
|
'title' => session('flash_notification.title'),
|
|
|
|
'body' => session('flash_notification.message')
|
|
|
|
])
|
|
|
|
@else
|
|
|
|
<div class="alert
|
|
|
|
alert-{{ session('flash_notification.level') }}
|
2018-01-01 03:08:41 +08:00
|
|
|
{{ session()->has('flash_notification.important') ? 'alert-important' : '' }}">
|
2017-12-15 06:38:29 +08:00
|
|
|
@if(session()->has('flash_notification.important'))
|
2018-01-01 03:08:41 +08:00
|
|
|
<button type="button"class="close" data-dismiss="alert">×</button>
|
2017-12-15 06:38:29 +08:00
|
|
|
@endif
|
|
|
|
|
2018-03-13 06:58:12 +08:00
|
|
|
{{ session('flash_notification.message') }}
|
2017-12-15 06:38:29 +08:00
|
|
|
</div>
|
|
|
|
@endif
|
|
|
|
@endif
|