mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 05:34:06 -08:00
Use storage helper
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
8c5249ba4b
commit
4a1b1675cb
|
@ -11,7 +11,7 @@
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
|
|
||||||
@if ($message = Session::get('status'))
|
@if ($message = session()->get('status'))
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<div class="alert alert-success fade in">
|
<div class="alert alert-success fade in">
|
||||||
<button type="button" class="close" data-dismiss="alert">×</button>
|
<button type="button" class="close" data-dismiss="alert">×</button>
|
||||||
|
@ -23,7 +23,7 @@
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
|
|
||||||
@if ($message = Session::get('success'))
|
@if ($message = session()->get('success'))
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<div class="alert alert-success fade in">
|
<div class="alert alert-success fade in">
|
||||||
<button type="button" class="close" data-dismiss="alert">×</button>
|
<button type="button" class="close" data-dismiss="alert">×</button>
|
||||||
|
@ -35,7 +35,7 @@
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
|
|
||||||
@if ($message = Session::get('success-unescaped'))
|
@if ($message = session()->get('success-unescaped'))
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<div class="alert alert-success fade in">
|
<div class="alert alert-success fade in">
|
||||||
<button type="button" class="close" data-dismiss="alert">×</button>
|
<button type="button" class="close" data-dismiss="alert">×</button>
|
||||||
|
@ -47,7 +47,7 @@
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
|
|
||||||
@if ($assets = Session::get('assets'))
|
@if ($assets = session()->get('assets'))
|
||||||
@foreach ($assets as $asset)
|
@foreach ($assets as $asset)
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<div class="alert alert-info fade in">
|
<div class="alert alert-info fade in">
|
||||||
|
@ -73,7 +73,7 @@
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
|
|
||||||
@if ($consumables = Session::get('consumables'))
|
@if ($consumables = session()->get('consumables'))
|
||||||
@foreach ($consumables as $consumable)
|
@foreach ($consumables as $consumable)
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<div class="alert alert-info fade in">
|
<div class="alert alert-info fade in">
|
||||||
|
@ -87,7 +87,7 @@
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
|
|
||||||
@if ($accessories = Session::get('accessories'))
|
@if ($accessories = session()->get('accessories'))
|
||||||
@foreach ($accessories as $accessory)
|
@foreach ($accessories as $accessory)
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<div class="alert alert-info fade in">
|
<div class="alert alert-info fade in">
|
||||||
|
@ -101,7 +101,7 @@
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
|
|
||||||
@if ($message = Session::get('error'))
|
@if ($message = session()->get('error'))
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<div class="alert alert alert-danger fade in">
|
<div class="alert alert alert-danger fade in">
|
||||||
<button type="button" class="close" data-dismiss="alert">×</button>
|
<button type="button" class="close" data-dismiss="alert">×</button>
|
||||||
|
@ -113,7 +113,7 @@
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
|
|
||||||
@if ($messages = Session::get('error_messages'))
|
@if ($messages = session()->get('error_messages'))
|
||||||
@foreach ($messages as $message)
|
@foreach ($messages as $message)
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<div class="alert alert alert-danger fade in">
|
<div class="alert alert alert-danger fade in">
|
||||||
|
@ -127,7 +127,7 @@
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
|
|
||||||
@if ($messages = Session::get('bulk_asset_errors'))
|
@if ($messages = session()->get('bulk_asset_errors'))
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<div class="alert alert alert-danger fade in">
|
<div class="alert alert alert-danger fade in">
|
||||||
<button type="button" class="close" data-dismiss="alert">×</button>
|
<button type="button" class="close" data-dismiss="alert">×</button>
|
||||||
|
@ -146,7 +146,7 @@
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
|
|
||||||
@if ($message = Session::get('warning'))
|
@if ($message = session()->get('warning'))
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<div class="alert alert-warning fade in">
|
<div class="alert alert-warning fade in">
|
||||||
<button type="button" class="close" data-dismiss="alert">×</button>
|
<button type="button" class="close" data-dismiss="alert">×</button>
|
||||||
|
@ -158,7 +158,7 @@
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
|
|
||||||
@if ($message = Session::get('info'))
|
@if ($message = session()->get('info'))
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<div class="alert alert-info fade in">
|
<div class="alert alert-info fade in">
|
||||||
<button type="button" class="close" data-dismiss="alert">×</button>
|
<button type="button" class="close" data-dismiss="alert">×</button>
|
||||||
|
|
Loading…
Reference in a new issue