-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prevented error notification being visible on load
Fixes #897 Also made design a little more compact
- Loading branch information
1 parent
6d35fb5
commit 69a0f8d
Showing
4 changed files
with
19 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,11 @@ | ||
|
||
<div notification="success" data-autohide class="pos" @if(session()->has('success')) data-show @endif> | ||
<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> | ||
</div> | ||
|
||
<div notification="warning" class="warning" @if(session()->has('warning')) data-show @endif> | ||
<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" class="neg" @if(session()->has('error')) data-show @endif> | ||
<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> |