Use <th> for table header in bulk interstitial

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2024-10-01 18:23:07 +01:00
parent d274fb6963
commit 7e3a062984

View file

@ -28,11 +28,11 @@
<table class="table table-striped table-condensed">
<thead>
<tr>
<td></td>
<td>{{ trans('admin/hardware/table.id') }}</td>
<td>{{ trans('general.asset_name') }}</td>
<td>{{ trans('admin/hardware/table.location')}}</td>
<td>{{ trans('admin/hardware/table.assigned_to') }}</td>
<th></th>
<th>{{ trans('admin/hardware/table.id') }}</th>
<th>{{ trans('general.asset_name') }}</th>
<th>{{ trans('admin/hardware/table.location')}}</th>
<th>{{ trans('admin/hardware/table.assigned_to') }}</th>
</tr>
</thead>
<tbody>
@ -47,8 +47,12 @@
@endif
</td>
<td>
{{ $asset->assigned_to }}
@if ($asset->assignedTo)
{{ $asset->assignedTo->present()->name()}}
@else
kflgjg
@endif
</td>
</tr>