mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-12 14:27:33 -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)
|
@if (count($status_navs) > 0)
|
||||||
@foreach ($status_navs as $status_nav)
|
@foreach ($status_navs as $status_nav)
|
||||||
<li><a href="{{ route('statuslabels.show', ['statuslabel' => $status_nav->id]) }}">
|
<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>
|
{{ $status_nav->name }} ({{ $status_nav->asset_count }})</a></li>
|
||||||
@endforeach
|
@endforeach
|
||||||
@endif
|
@endif
|
||||||
|
|
Loading…
Reference in a new issue