BookStack/resources/views/partials/notifications.blade.php
2018-02-17 19:49:00 +00:00

13 lines
571 B
PHP

<div notification="success" data-autohide class="pos" @if(session()->has('success')) data-show @endif>
@icon('check-circle') <span>{!! nl2br(htmlentities(session()->get('success'))) !!}</span>
</div>
<div notification="warning" class="warning" @if(session()->has('warning')) data-show @endif>
@icon('info') <span>{!! nl2br(htmlentities(session()->get('warning'))) !!}</span>
</div>
<div notification="error" class="neg" @if(session()->has('error')) data-show @endif>
@icon('danger') <span>{!! nl2br(htmlentities(session()->get('error'))) !!}</span>
</div>