mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-09 23:24:06 -08:00
Reflect color in sidenav if one is given
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
476a5cbc02
commit
dea0fcefbd
|
@ -420,7 +420,9 @@
|
|||
@if (count($status_navs) > 0)
|
||||
@foreach ($status_navs as $status_nav)
|
||||
<li><a href="{{ route('statuslabels.show', ['statuslabel' => $status_nav->id]) }}">
|
||||
<i class="fas fa-circle text-grey fa-fw" aria-hidden="true"></i>
|
||||
<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
|
||||
@endif
|
||||
|
|
Loading…
Reference in a new issue