Viewing file: notifications.blade.php (1.99 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<div id="notifications" class="row no-print">
<div class="col-md-12">
@if($errors->any())
<div class="noti-alert pad no-print">
<div class="alert alert-danger alert-dismissable d-flex justify-content-between">
<ul class="mb-0">
@foreach ($errors->all() as $error)
<li>{{ $error }}</li>
@endforeach
</ul>
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
</div>
</div>
@endif
<div class="noti-alert pad no-print">
@foreach (['success', 'danger', 'fail', 'warning', 'info'] as $msg)
@if($message = Session::get($msg))
<div class="alert alert-{{ $msg == 'fail' ? 'danger' : $msg }} fade show d-flex justify-content-between align-items-center">
<strong>{{ $message }}</strong>
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
</div>
@break
@endif
@endforeach
<div class="top-notification noti-alert pad no-print js-alert d-none">
<div class="alert alert-success">
<strong class="alertText"></strong>
<button type="button" class="btn-close float-right notification-close" aria-label="Close"></button>
</div>
</div>
@impersonated
<div class="alert alert-info }}">
<strong>{{ __('You are impersonating as this user.') }} <a class="btn btn-info btn-sm" href="{{ route('impersonator-cancel') }}">{{ __('Cancel Impersonating') }}</a></strong>
<button type="button" class="btn-close float-right" data-bs-dismiss="alert" aria-label="Close"></button>
</div>
@endimpersonated
</div>
</div>
</div>
|