mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-23 20:00:33 -04:00
Add env property for warning message
This commit is contained in:
parent
fd55075250
commit
c41d1cd307
@ -564,7 +564,9 @@
|
||||
@include('partials.warn_session', ['redirectTo' => '/dashboard'])
|
||||
|
||||
@if (Session::has('warning'))
|
||||
<div class="alert alert-warning">{!! Session::get('warning') !!}</div>
|
||||
<div class="alert alert-warning">{!! Session::get('warning') !!}</div>
|
||||
@elseif (env('WARNING_MESSAGE'))
|
||||
<div class="alert alert-warning">{!! env('WARNING_MESSAGE') !!}</div>
|
||||
@endif
|
||||
|
||||
@if (Session::has('message'))
|
||||
|
Loading…
x
Reference in New Issue
Block a user