BookStack/resources/views/partials/notifications.blade.php

12 lines
639 B
PHP
Raw Normal View History

<div notification="success" style="display: none;" data-autohide class="pos" @if(session()->has('success')) data-show @endif>
@icon('check-circle') <span>{!! nl2br(htmlentities(session()->get('success'))) !!}</span>
2016-03-12 16:52:19 +01:00
</div>
<div notification="warning" style="display: none;" class="warning" @if(session()->has('warning')) data-show @endif>
@icon('info') <span>{!! nl2br(htmlentities(session()->get('warning'))) !!}</span>
</div>
<div notification="error" style="display: none;" class="neg" @if(session()->has('error')) data-show @endif>
@icon('danger') <span>{!! nl2br(htmlentities(session()->get('error'))) !!}</span>
</div>