mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-12 06:17:28 -08:00
Fixes #2856 - add status to asset detail view
(Not sure how we missed this… oops)
This commit is contained in:
parent
a4ae3b0091
commit
0595867500
|
@ -75,6 +75,20 @@
|
|||
<div class="table-responsive" style="margin-top: 10px;">
|
||||
<table class="table">
|
||||
<tbody>
|
||||
@if ($asset->assetstatus)
|
||||
<tr>
|
||||
<td>{{ trans('general.status') }}</td>
|
||||
<td>
|
||||
@if ($asset->assetstatus->color)
|
||||
<span class="label label-default" style="background-color: {{ e($asset->assetstatus->color) }};">
|
||||
</span>
|
||||
</span>
|
||||
@endif
|
||||
|
||||
{{ $asset->assetstatus->name }}
|
||||
</td>
|
||||
</tr>
|
||||
@endif
|
||||
@if ($asset->company)
|
||||
<tr>
|
||||
<td>{{ trans('general.company') }}</td>
|
||||
|
|
Loading…
Reference in a new issue