Change rendering of notes/errors/update and highlight attributes that are successfully updated
This commit is contained in:
@@ -1,12 +1,5 @@
|
||||
@if(session()->has('updated'))
|
||||
<div class="alert alert-success">
|
||||
<h4 class="alert-heading"><i class="fas fa-fw fa-thumbs-up"></i> Success!</h4>
|
||||
<hr>
|
||||
<p>{{ __('Entry updated') }}</p>
|
||||
<ul style="list-style-type: square;">
|
||||
@foreach (session()->pull('updated') as $key => $o)
|
||||
<li><abbr title="{{ $o->description }}">{{ $o->name }}</abbr>: {{ $o->values->dot()->filter()->join(',') }}</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
<div class="alert alert-success p-2">
|
||||
<p class="m-0"><i class="fas fa-fw fa-pen-to-square"></i> @lang('Entry updated') [{{ session()->get('updated')->count() }} @lang('attributes(s)')]</p>
|
||||
</div>
|
||||
@endif
|
Reference in New Issue
Block a user