Fixed table headers for custom fields
This commit is contained in:
parent
90a2bf7c9c
commit
d0cf76989a
2 changed files with 3 additions and 3 deletions
2
public/js/bootstrap-table.js
vendored
2
public/js/bootstrap-table.js
vendored
|
@ -820,7 +820,7 @@
|
||||||
|
|
||||||
if (column.checkbox) {
|
if (column.checkbox) {
|
||||||
if (!that.options.singleSelect && that.options.checkboxHeader) {
|
if (!that.options.singleSelect && that.options.checkboxHeader) {
|
||||||
text = '<label for="btSelectAll" class="sr-only">Select All</label><input name="btSelectAll" type="checkbox" />';
|
text = '<label for="btSelectAll" class="sr-only">Select All</label><input name="btSelectAll" type="checkbox">';
|
||||||
}
|
}
|
||||||
that.header.stateField = column.field;
|
that.header.stateField = column.field;
|
||||||
}
|
}
|
||||||
|
|
|
@ -44,7 +44,7 @@
|
||||||
<th>{{ trans('general.name') }}</th>
|
<th>{{ trans('general.name') }}</th>
|
||||||
<th>{{ trans('admin/custom_fields/general.qty_fields') }}</th>
|
<th>{{ trans('admin/custom_fields/general.qty_fields') }}</th>
|
||||||
<th>{{ trans('admin/custom_fields/general.used_by_models') }}</th>
|
<th>{{ trans('admin/custom_fields/general.used_by_models') }}</th>
|
||||||
<th><span class="sr-only">Actions</span></th>
|
<th>Actions</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
|
|
||||||
|
@ -132,7 +132,7 @@
|
||||||
<th 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-searchable="true">{{ trans('admin/custom_fields/general.field_element_short') }}</th>
|
<th 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><span class="sr-only">Actions</span></th>
|
<th>Actions</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
|
|
Loading…
Add table
Reference in a new issue