Commit cb077ae2 authored by Daniel Windloff's avatar Daniel Windloff Committed by Jan Helke
Browse files

[TASK] Streamline button order in list module / multi selection mode

Change button order to:
- edit
- delete

- copy
- mark all

Resolves: #78753
Releases: master
Change-Id: Iff131d84a661125d5f6d1f37e481c0c0f5da2c5a
Reviewed-on: https://review.typo3.org/50715

Tested-by: default avatarTYPO3com <no-reply@typo3.com>
Reviewed-by: default avatarMichael Oehlhof <typo3@oehlhof.de>
Tested-by: default avatarMichael Oehlhof <typo3@oehlhof.de>
Reviewed-by: Manuel Glauser's avatarManuel Glauser <mail@manuelglauser.ch>
Tested-by: Manuel Glauser's avatarManuel Glauser <mail@manuelglauser.ch>
Reviewed-by: Jan Helke's avatarJan Helke <typo3@helke.de>
Tested-by: Jan Helke's avatarJan Helke <typo3@helke.de>
parent 6f35d833
......@@ -1148,7 +1148,12 @@ class DatabaseRecordList extends AbstractDatabaseRecordList
$cells = $hookObject->renderListHeaderActions($table, $currentIdList, $cells, $this);
}
}
$theData[$fCol] = '<div class="btn-group" role="group">' . implode('', $cells) . '</div>';
$theData[$fCol] = '';
if (isset($cells['edit']) && isset($cells['delete'])) {
$theData[$fCol] .= '<div class="btn-group" role="group">' . $cells['edit'] . $cells['delete'] . '</div>';
unset($cells['edit'], $cells['delete']);
}
$theData[$fCol] .= '<div class="btn-group" role="group">' . implode('', $cells) . '</div>';
break;
case '_CONTROL_':
// Control panel:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment