mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 13:44:06 -08:00
adds the red x icon to a false deployable status
This commit is contained in:
parent
d03e042eda
commit
0cd558593d
|
@ -245,10 +245,9 @@
|
||||||
<i class="fas fa-circle text-orange"></i>
|
<i class="fas fa-circle text-orange"></i>
|
||||||
@elseif (($asset->assetstatus) && ($asset->assetstatus->archived=='1'))
|
@elseif (($asset->assetstatus) && ($asset->assetstatus->archived=='1'))
|
||||||
<i class="fas fa-times text-red"></i>
|
<i class="fas fa-times text-red"></i>
|
||||||
@elseif (($asset->assetstatus) && ($asset->assetstatus->name =="Broken - Not Fixable"))
|
@elseif (($asset->assetstatus) && ($asset->assetstatus->deployable=='0'))
|
||||||
<i class="fas fa-times text-red"></i>
|
<i class="fas fa-times text-red"></i>
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
<a href="{{ route('statuslabels.show', $asset->assetstatus->id) }}">
|
<a href="{{ route('statuslabels.show', $asset->assetstatus->id) }}">
|
||||||
{{ $asset->assetstatus->name }}</a>
|
{{ $asset->assetstatus->name }}</a>
|
||||||
<label class="label label-default">{{ $asset->present()->statusMeta }}</label>
|
<label class="label label-default">{{ $asset->present()->statusMeta }}</label>
|
||||||
|
|
Loading…
Reference in a new issue