mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-09 23:24:06 -08:00
Fixed copypasta
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
9dc016aecc
commit
c5c37fa95f
|
@ -419,7 +419,7 @@
|
|||
<?php $status_navs = \App\Models\Statuslabel::where('show_in_nav', '=', 1)->withCount('assets as asset_count')->get(); ?>
|
||||
@if (count($status_navs) > 0)
|
||||
@foreach ($status_navs as $status_nav)
|
||||
<li{!! (Request::is('statuslabels/'.$status_nav->id) == 'Deployed' ? ' class="active"' : '') !!}><a href="{{ route('statuslabels.show', ['statuslabel' => $status_nav->id]) }}">
|
||||
<li{!! (Request::is('statuslabels/'.$status_nav->id) ? ' class="active"' : '') !!}><a href="{{ route('statuslabels.show', ['statuslabel' => $status_nav->id]) }}">
|
||||
<i class="fas fa-circle text-grey fa-fw" aria-hidden="true"{!! ($status_nav->color!='' ? ' style="color: '.e($status_nav->color).'"' : '') !!}></i>
|
||||
{{ $status_nav->name }} ({{ $status_nav->asset_count }})</a></li>
|
||||
@endforeach
|
||||
|
|
Loading…
Reference in a new issue