mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-11-24 11:48:26 +08:00
d582e76fed
Also cleaned notification session access
13 lines
656 B
PHP
13 lines
656 B
PHP
|
|
<div class="notification anim pos" @if(!session()->has('success')) style="display:none;" @endif>
|
|
<i class="zmdi zmdi-check-circle"></i> <span>{!! nl2br(htmlentities(session()->get('success'))) !!}</span>
|
|
</div>
|
|
|
|
<div class="notification anim warning stopped" @if(!session()->has('warning')) style="display:none;" @endif>
|
|
<i class="zmdi zmdi-info"></i> <span>{!! nl2br(htmlentities(session()->get('warning'))) !!}</span>
|
|
</div>
|
|
|
|
<div class="notification anim neg stopped" @if(!session()->has('error')) style="display:none;" @endif>
|
|
<i class="zmdi zmdi-alert-circle"></i> <span>{!! nl2br(htmlentities(session()->get('error'))) !!}</span>
|
|
</div>
|