phpvms/resources/views/layouts/default/flash/message.blade.php

20 lines
793 B
PHP
Raw Normal View History

@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' : '' }}">
@if(session()->has('flash_notification.important'))
<button type="button" class="close" data-dismiss="alert">&times;</button>
@endif
{{ session('flash_notification.message') }}
</div>
@endif
@endif