ENHANCEMENT:Trac#7218 - changed delete button on gridfield to cross and added tooltips for both edit and delete.
This commit is contained in:
parent
9a7980e357
commit
fb78cab8e6
|
@ -109,7 +109,8 @@ class GridFieldDeleteAction implements GridField_ColumnProvider, GridField_Actio
|
|||
$field = GridField_FormAction::create($gridField, 'DeleteRecord'.$record->ID, false, "deleterecord", array('RecordID' => $record->ID))
|
||||
->addExtraClass('gridfield-button-delete')
|
||||
->setAttribute('title', _t('GridAction.Delete', "Delete"))
|
||||
->setAttribute('data-icon', 'decline');
|
||||
->setAttribute('data-icon', 'cross-circle')
|
||||
->setDescription('Delete');
|
||||
}
|
||||
return $field->Field();
|
||||
}
|
||||
|
|
|
@ -1 +1 @@
|
|||
<a class="action action-detail edit-link" href="$Link">edit</a>
|
||||
<a class="action action-detail edit-link" href="$Link" title="Edit">edit</a>
|
Loading…
Reference in New Issue