mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
ENHANCEMENT SSF-53 : change the icon class for "Link Existing" button to 'chain--plus'
This commit is contained in:
parent
4ad7e8ef8d
commit
fd828fc4cb
@ -68,7 +68,7 @@ class GridFieldRelationAdd implements GridField_HTMLProvider, GridField_ActionPr
|
||||
$findAction = new GridField_Action($gridField, 'gridfield_relationfind', _t('GridField.Find', "Find"), 'find', 'find');
|
||||
$findAction->setAttribute('data-icon', 'relationfind');
|
||||
$addAction = new GridField_Action($gridField, 'gridfield_relationadd', _t('GridField.LinkExisting', "Link Exisiting"), 'addto', 'addto');
|
||||
$addAction->setAttribute('data-icon', 'linkexisting');
|
||||
$addAction->setAttribute('data-icon', 'chain--plus');
|
||||
|
||||
// If an object is not found, disable the action
|
||||
if(!is_int($gridField->State->GridFieldAddRelation)) {
|
||||
|
Loading…
Reference in New Issue
Block a user