A free open source IT asset/license management system
Add checkin/checkout indicators on custom field table
snipe07cf20301832
diff --git a/resources/views/custom_fields/index.blade.php b/resources/views/custom_fields/index.blade.phpindex 9acb82f6fb..5b9338bafa 100644--- a/resources/views/custom_fields/index.blade.php+++ b/resources/views/custom_fields/index.blade.php@@ -178,7 +178,28 @@data-tooltip="{{ trans('admin/custom_fields/general.unique') }}"><iclass="fa-solid fa-fingerprint"><spanclass="sr-only">{{ trans('admin/custom_fields/general.unique') }}</span></i></th>+++ <th data-sortable="true" data-visible="false" data-searchable="false" class="text-center"+ data-tooltip="{{ trans('admin/custom_fields/general.display_checkin') }}">+ <x-icon type="checkin" />+ <span class="sr-only">+ {{ trans('admin/custom_fields/general.display_checkin') }}+ </span>+ </th>++ <th data-sortable="true" data-visible="false" data-searchable="false" class="text-center"+ data-tooltip="{{ trans('admin/custom_fields/general.display_checkout') }}">+ <x-icon type="checkout" />+ <span class="sr-only">+ {{ trans('admin/custom_fields/general.display_checkout') }}+ </span>+ </th>++<th data-sortable="true" data-searchable="true" class="text-center">{{ trans('admin/custom_fields/general.field_element_short') }}</th>++<th data-searchable="true">{{ trans('admin/custom_fields/general.fieldsets') }}</th><th>{{ trans('button.actions') }}</th></tr>@@ -204,6 +225,8 @@<td class="text-center">{!! ($field->show_in_email=='1') ? '<i class="fas fa-check text-success" aria-hidden="true"><span class="sr-only">'.trans('general.yes').'</span></i>' : '<i class="fas fa-times text-danger" aria-hidden="true"><span class="sr-only">'.trans('general.no').'</span></i>' !!}</td><td class="text-center">{!! ($field->show_in_requestable_list=='1') ? '<i class="fas fa-check text-success" aria-hidden="true"><span class="sr-only">'.trans('general.yes').'</span></i>' : '<i class="fas fa-times text-danger" aria-hidden="true"><span class="sr-only">'.trans('general.no').'</span></i>' !!}</td><td class="text-center">{!! ($field->is_unique=='1') ? '<i class="fas fa-check text-success" aria-hidden="true"><span class="sr-only">'.trans('general.yes').'</span></i>' : '<i class="fas fa-times text-danger" aria-hidden="true"><span class="sr-only">'.trans('general.no').'</span></i>' !!}</td>+ <td class="text-center">{!! ($field->display_checkin=='1') ? '<i class="fas fa-check text-success" aria-hidden="true"><span class="sr-only">'.trans('general.yes').'</span></i>' : '<i class="fas fa-times text-danger" aria-hidden="true"><span class="sr-only">'.trans('general.no').'</span></i>' !!}</td>+ <td class="text-center">{!! ($field->display_checkout=='1') ? '<i class="fas fa-check text-success" aria-hidden="true"><span class="sr-only">'.trans('general.yes').'</span></i>' : '<i class="fas fa-times text-danger" aria-hidden="true"><span class="sr-only">'.trans('general.no').'</span></i>' !!}</td><td>{{ $field->element }}</td><td>@foreach($field->fieldset as $fieldset)