mirror of
https://github.com/nuxsmin/sysPass.git
synced 2026-03-15 04:46:49 +01:00
* [ADD] Default permissions rewritten to make a more generic approach. Now it can manage multiple items/modules default values from the same view, so it's called Items Preset.
* [MOD] Code refactoring
This commit is contained in:
@@ -62,13 +62,11 @@ final class ClientGrid extends GridBase
|
||||
|
||||
$grid->setDataActions($this->getSearchAction());
|
||||
$grid->setPager($this->getPager($searchAction));
|
||||
|
||||
$grid->setDataActions($this->getCreateAction());
|
||||
$grid->setDataActions($this->getEditAction());
|
||||
|
||||
$deleteAction = $this->getDeleteAction();
|
||||
|
||||
$grid->setDataActions($deleteAction);
|
||||
$grid->setDataActions($deleteAction, true);
|
||||
$grid->setDataActions($this->getDeleteAction());
|
||||
$grid->setDataActions($this->getDeleteAction()->setTitle(__('Eliminar Seleccionados')), true);
|
||||
|
||||
$grid->setTime(round(getElapsedTime($this->queryTimeStart), 5));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user