added a few more entities to globalsearch (admin-side)

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2022-03-20 09:53:30 +01:00
parent 860306b855
commit 59682ba620
9 changed files with 331 additions and 165 deletions

View File

@@ -16,6 +16,7 @@
*
*/
use Froxlor\UI\Callbacks\Admin;
use Froxlor\UI\Callbacks\PHPConf;
use Froxlor\UI\Listing;
@@ -62,6 +63,7 @@ return [
'action' => 'edit',
'id' => ':id'
],
'visible' => [Admin::class, 'canChangeServerSettings']
],
'delete' => [
'icon' => 'fa fa-trash',

View File

@@ -16,6 +16,7 @@
*
*/
use Froxlor\UI\Callbacks\Admin;
use Froxlor\UI\Callbacks\PHPConf;
use Froxlor\UI\Listing;
use Froxlor\Settings;
@@ -67,6 +68,7 @@ return [
'action' => 'edit',
'id' => ':id'
],
'visible' => [Admin::class, 'canChangeServerSettings']
],
'delete' => [
'icon' => 'fa fa-trash',