mirror of
https://github.com/colymba/GridFieldBulkEditingTools.git
synced 2024-10-22 11:05:57 +02:00
Compare commits
3 Commits
74e324bbac
...
fea3235bf2
Author | SHA1 | Date | |
---|---|---|---|
|
fea3235bf2 | ||
|
1cf36022b1 | ||
|
d2ae01ef24 |
@ -107,7 +107,7 @@ class EditHandler extends Handler
|
|||||||
*/
|
*/
|
||||||
public function Link($action = null)
|
public function Link($action = null)
|
||||||
{
|
{
|
||||||
return Controller::join_links(parent::Link(), static::config()->url_segment, $action);
|
return Controller::join_links(parent::Link(), static::config()->get('url_segment'), $action);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -128,19 +128,17 @@ class EditHandler extends Handler
|
|||||||
$actions->push(
|
$actions->push(
|
||||||
FormAction::create('doSave', _t('GRIDFIELD_BULKMANAGER_EDIT_HANDLER.SAVE_BTN_LABEL', 'Save all'))
|
FormAction::create('doSave', _t('GRIDFIELD_BULKMANAGER_EDIT_HANDLER.SAVE_BTN_LABEL', 'Save all'))
|
||||||
->setAttribute('id', 'bulkEditingSaveBtn')
|
->setAttribute('id', 'bulkEditingSaveBtn')
|
||||||
->addExtraClass('btn btn-success')
|
->addExtraClass('btn btn-success font-icon font-icon-save')
|
||||||
// ->setAttribute('data-icon', 'accept')
|
|
||||||
->setUseButtonTag(true)
|
->setUseButtonTag(true)
|
||||||
);
|
);
|
||||||
|
|
||||||
$actions->push(
|
$actions->push(
|
||||||
FormAction::create('Cancel', _t('GRIDFIELD_BULKMANAGER_EDIT_HANDLER.CANCEL_BTN_LABEL', 'Cancel'))
|
FormAction::create('Cancel', _t('GRIDFIELD_BULKMANAGER_EDIT_HANDLER.CANCEL_BTN_LABEL', 'Cancel'))
|
||||||
->setAttribute('id', 'bulkEditingUpdateCancelBtn')
|
->setAttribute('id', 'bulkEditingUpdateCancelBtn')
|
||||||
->addExtraClass('btn btn-danger cms-panel-link')
|
->addExtraClass('btn btn-danger cms-panel-link font-icon font-icon-cancel')
|
||||||
// ->setAttribute('data-icon', 'decline')
|
|
||||||
->setAttribute('href', $one_level_up->Link)
|
->setAttribute('href', $one_level_up->Link)
|
||||||
->setUseButtonTag(true)
|
->setUseButtonTag(true)
|
||||||
->setAttribute('src', '')//changes type to image so isn't hooked by default actions handlers
|
->setAttribute('src', '') //changes type to image so isn't hooked by default actions handlers
|
||||||
);
|
);
|
||||||
|
|
||||||
$recordList = $this->getRecordIDList();
|
$recordList = $this->getRecordIDList();
|
||||||
|
Loading…
Reference in New Issue
Block a user