mirror of
https://gitlab.com/signalytic/client-external/streamline/streamline-emr.git
synced 2026-09-11 18:51:31 +00:00
31 lines
1.4 KiB
PHP
31 lines
1.4 KiB
PHP
<?php $__currentLoopData = session('flash_notification', collect())->toArray(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $message): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
|
|
<?php if($message['overlay']): ?>
|
|
<?php echo $__env->make('flash::modal', [
|
|
'modalClass' => 'flash-modal',
|
|
'title' => $message['title'],
|
|
'body' => $message['message']
|
|
], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
|
|
<?php else: ?>
|
|
<div class="alert
|
|
alert-<?php echo e($message['level']); ?>
|
|
|
|
<?php echo e($message['important'] ? 'alert-important' : ''); ?>"
|
|
role="alert"
|
|
>
|
|
<?php if($message['important']): ?>
|
|
<button type="button"
|
|
class="close"
|
|
data-dismiss="alert"
|
|
aria-hidden="true"
|
|
>×</button>
|
|
<?php endif; ?>
|
|
|
|
<?php echo $message['message']; ?>
|
|
|
|
</div>
|
|
<?php endif; ?>
|
|
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
|
|
|
|
<?php echo e(session()->forget('flash_notification')); ?>
|
|
|
|
<?php /**PATH /var/www/html/vendor/laracasts/flash/src/Laracasts/Flash/../../views/message.blade.php ENDPATH**/ ?>
|