]> BookStack Code Mirror - bookstack/blobdiff - resources/views/partials/notifications.blade.php
Updated image controller styling and added preview option
[bookstack] / resources / views / partials / notifications.blade.php
index 6bb00e237978c049a2bef5e3fa80d938053427ef..8cc0774c9971a0f9fd20c8b43a1445ea9950effd 100644 (file)
@@ -1,11 +1,8 @@
-@if(Session::has('success'))
-    <div class="notification anim pos">
-        <i class="zmdi zmdi-mood"></i> <span>{{ Session::get('success') }}</span>
-    </div>
-@endif
 
-@if(Session::has('error'))
-    <div class="notification anim neg stopped">
-        <i class="zmdi zmdi-alert-circle"></i> <span>{{ Session::get('error') }}</span>
-    </div>
-@endif
\ No newline at end of file
+<div class="notification anim pos" @if(!Session::has('success')) style="display:none;" @endif>
+    <i class="zmdi zmdi-check-circle"></i> <span>{{ Session::get('success') }}</span>
+</div>
+
+<div class="notification anim neg stopped" @if(!Session::has('error')) style="display:none;" @endif>
+    <i class="zmdi zmdi-alert-circle"></i> <span>{{ Session::get('error') }}</span>
+</div>