Skip to content

Commit 9c3c611

Browse files
committed
Fixes #2825 - columns misaligned when older display_asset_name field set to 1
1 parent 3e701c6 commit 9c3c611

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

resources/views/account/requestable-assets.blade.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@
3535
<thead>
3636
<tr role="row">
3737
<th class="col-md-3" bSortable="true">{{ trans('admin/hardware/table.asset_model') }}</th>
38+
@if (\App\Models\Setting::getSettings()->display_asset_name)
39+
<th class="col-md-3" bSortable="true">{{ trans('admin/hardware/form.name') }}</th>
40+
@endif
3841
<th class="col-md-3" bSortable="true">{{ trans('admin/hardware/table.serial') }}</th>
3942
<th class="col-md-2" bSortable="true">{{ trans('admin/hardware/table.location') }}</th>
4043
<th class="col-md-2" bSortable="true">{{ trans('admin/hardware/table.status') }}</th>

0 commit comments

Comments
 (0)