N°5074 - Linkset datatable actions row improvements

Linkset updates, feedbacks 09/12:

- Distinguish action label and tool tip message
- Change default action button label Ok => Confirm
- Use action label in place of default confirm button label
- Attach do not show again preference key to table instance
- Obsolescence flag for link selection (select all)  issue correction
This commit is contained in:
bdalsass
2022-12-20 10:10:25 +01:00
committed by GitHub
parent 64146b6e1b
commit eda11e97e3
16 changed files with 109 additions and 27 deletions

View File

@@ -213,7 +213,7 @@ class DataTableUIBlockFactory extends AbstractUIBlockFactory
array_key_exists('tooltip', $aAction) ? Dict::S($aAction['tooltip']) : '',
array_key_exists('name', $aAction) ? $aAction['name'] : 'undefined'
);
$oButton->SetDataAttributes(['action-id' => $iKey, 'table-id' => $oTable->GetId()]);
$oButton->SetDataAttributes(['label' => Dict::S($aAction['label']), 'action-id' => $iKey, 'table-id' => $oTable->GetId()]);
$oToolbar->AddSubBlock($oButton);
}