mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-12-15 07:29:30 +00:00
Allow to configure sidebar menu via the new settings system
This commit is contained in:
parent
5e512f8935
commit
79da0518c2
15 changed files with 320 additions and 55 deletions
|
|
@ -23,6 +23,7 @@ declare(strict_types=1);
|
|||
|
||||
namespace App\Settings;
|
||||
|
||||
use App\Settings\BehaviorSettings\BehaviorSettings;
|
||||
use App\Settings\InfoProviderSystem\InfoProviderSettings;
|
||||
use App\Settings\MiscSettings\MiscSettings;
|
||||
use App\Settings\SystemSettings\AttachmentsSettings;
|
||||
|
|
@ -31,6 +32,7 @@ use Jbtronics\SettingsBundle\Settings\Settings;
|
|||
use Jbtronics\SettingsBundle\Settings\SettingsTrait;
|
||||
|
||||
#[Settings]
|
||||
#[SettingsIcon('folder-tree')]
|
||||
class AppSettings
|
||||
{
|
||||
use SettingsTrait;
|
||||
|
|
@ -39,6 +41,9 @@ class AppSettings
|
|||
#[EmbeddedSettings()]
|
||||
public ?SystemSettings $system = null;
|
||||
|
||||
#[EmbeddedSettings()]
|
||||
public ?BehaviorSettings $behavior = null;
|
||||
|
||||
#[EmbeddedSettings()]
|
||||
public ?InfoProviderSettings $infoProviders = null;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue