mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-12-11 05:29:30 +00:00
Allow to override the banner with its existing env variable
This commit is contained in:
parent
ae08d9539d
commit
ac89489202
6 changed files with 13 additions and 22 deletions
|
|
@ -49,6 +49,7 @@ class CustomizationSettings
|
|||
#[SettingsParameter(
|
||||
label: new TM("settings.system.customization.banner"),
|
||||
formType: RichTextEditorType::class, formOptions: ['mode' => 'markdown-full'],
|
||||
envVar: "BANNER", envVarMode: EnvVarMode::OVERWRITE,
|
||||
)]
|
||||
public ?string $banner = null;
|
||||
|
||||
|
|
@ -58,4 +59,4 @@ class CustomizationSettings
|
|||
)]
|
||||
#[ValidTheme]
|
||||
public string $theme = 'bootstrap';
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue