mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-12 22:37:28 -08:00
Slight revamping of column layouts and also added new general.display_in_user_view column
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
2e56c9b521
commit
097821b818
|
@ -126,16 +126,17 @@
|
||||||
}'>
|
}'>
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th data-searchable="true">{{ trans('general.name') }}</th>
|
<th data-sortable="true" data-searchable="true">{{ trans('general.name') }}</th>
|
||||||
<th data-searchable="true">{{ trans('admin/custom_fields/general.help_text')}}</th>
|
<th data-sortable="true" data-searchable="true">{{ trans('admin/custom_fields/general.help_text')}}</th>
|
||||||
<th data-searchable="true">{{ trans('general.email') }}</th>
|
<th data-sortable="true" data-searchable="true">{{ trans('admin/custom_fields/general.unique') }}</th>
|
||||||
<th data-searchable="true">{{ trans('admin/custom_fields/general.unique') }}</th>
|
<th data-sortable="true" data-visible="false">{{ trans('admin/custom_fields/general.db_field') }}</th>
|
||||||
<th data-visible="false">{{ trans('admin/custom_fields/general.db_field') }}</th>
|
<th data-sortable="true" data-searchable="true">{{ trans('admin/custom_fields/general.field_format') }}</th>
|
||||||
<th data-searchable="true">{{ trans('admin/custom_fields/general.field_format') }}</th>
|
<th data-sortable="true"><i class="fa fa-lock" aria-hidden="true"></i>
|
||||||
<th><i class="fa fa-lock" aria-hidden="true"></i>
|
|
||||||
<span class="hidden-xs hidden-sm hidden-md hidden-lg">{{ trans('admin/custom_fields/general.encrypted') }}</span>
|
<span class="hidden-xs hidden-sm hidden-md hidden-lg">{{ trans('admin/custom_fields/general.encrypted') }}</span>
|
||||||
</th>
|
</th>
|
||||||
<th data-searchable="true">{{ trans('admin/custom_fields/general.field_element_short') }}</th>
|
<th data-visible="false" data-sortable="true"><i class="fa fa-eye" aria-hidden="true"><span class="sr-only">Visible to User</span></i></th>
|
||||||
|
<th data-sortable="true" data-searchable="true"><i class="fa fa-envelope" aria-hidden="true"><span class="sr-only">Show in Email</span></i></th>
|
||||||
|
<th data-sortable="true" data-searchable="true">{{ trans('admin/custom_fields/general.field_element_short') }}</th>
|
||||||
<th data-searchable="true">{{ trans('admin/custom_fields/general.fieldsets') }}</th>
|
<th data-searchable="true">{{ trans('admin/custom_fields/general.fieldsets') }}</th>
|
||||||
<th>{{ trans('button.actions') }}</th>
|
<th>{{ trans('button.actions') }}</th>
|
||||||
</tr>
|
</tr>
|
||||||
|
@ -145,7 +146,7 @@
|
||||||
<tr>
|
<tr>
|
||||||
<td>{{ $field->name }}</td>
|
<td>{{ $field->name }}</td>
|
||||||
<td>{{ $field->help_text }}</td>
|
<td>{{ $field->help_text }}</td>
|
||||||
<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->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->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>
|
<td>
|
||||||
<code>{{ $field->convertUnicodeDbSlug() }}</code>
|
<code>{{ $field->convertUnicodeDbSlug() }}</code>
|
||||||
|
@ -156,6 +157,8 @@
|
||||||
</td>
|
</td>
|
||||||
<td>{{ $field->format }}</td>
|
<td>{{ $field->format }}</td>
|
||||||
<td>{!! ($field->field_encrypted=='1' ? '<i class="fa fa-check text-success"></i>' : '<i class="fa fa-times text-danger"></i>') !!}</td>
|
<td>{!! ($field->field_encrypted=='1' ? '<i class="fa fa-check text-success"></i>' : '<i class="fa fa-times text-danger"></i>') !!}</td>
|
||||||
|
<td>{!! ($field->display_in_user_view=='1' ? '<i class="fa fa-check text-success"></i>' : '<i class="fa fa-times text-danger"></i>') !!}</td>
|
||||||
|
<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>{{ $field->element }}</td>
|
<td>{{ $field->element }}</td>
|
||||||
<td>
|
<td>
|
||||||
@foreach($field->fieldset as $fieldset)
|
@foreach($field->fieldset as $fieldset)
|
||||||
|
|
Loading…
Reference in a new issue