ENHANCEMENT SSF-53 : change the icon class for "Link Existing" button to 'chain--plus'

This commit is contained in:
Normann Lou 2012-03-08 14:55:23 +13:00
parent 4ad7e8ef8d
commit fd828fc4cb

View File

@ -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)) {