mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
BEM class names for filter-buttons
This commit is contained in:
parent
21f2da4962
commit
fa86f42ab9
@ -221,7 +221,7 @@ class GridFieldFilterHeader implements GridField_HTMLProvider, GridField_DataMan
|
||||
->setAttribute('title', _t('SilverStripe\\Forms\\GridField\\GridField.ResetFilter', "Reset"))
|
||||
->setAttribute('id', 'action_reset_' . $gridField->getModelClass() . '_' . $columnField)
|
||||
);
|
||||
$fields->addExtraClass('filter-buttons');
|
||||
$fields->addExtraClass('grid-field__filter-buttons');
|
||||
$fields->addExtraClass('no-change-track');
|
||||
}
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
<% if Fields %>
|
||||
<tr class="filter-header" style="display:none;">
|
||||
<% if $Fields %>
|
||||
<tr class="grid-field__filter-header" style="display:none;">
|
||||
<% loop $Fields %>
|
||||
<th class="extra">$Field</th>
|
||||
<% end_loop %>
|
||||
|
Loading…
Reference in New Issue
Block a user