mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-01-15 14:49:33 +00:00
Improve Buerklin Settings Page
This commit is contained in:
parent
2aebad7e07
commit
65084afc33
1 changed files with 2 additions and 2 deletions
|
|
@ -36,7 +36,7 @@ use Symfony\Component\Translation\TranslatableMessage as TM;
|
||||||
use Jbtronics\SettingsBundle\Settings\SettingsParameter;
|
use Jbtronics\SettingsBundle\Settings\SettingsParameter;
|
||||||
use Symfony\Component\Validator\Constraints as Assert;
|
use Symfony\Component\Validator\Constraints as Assert;
|
||||||
|
|
||||||
#[Settings(label: new TM("settings.ips.buerklin"))]
|
#[Settings(label: new TM("settings.ips.buerklin"), description: new TM("settings.ips.buerklin.help"))]
|
||||||
#[SettingsIcon("fa-plug")]
|
#[SettingsIcon("fa-plug")]
|
||||||
class BuerklinSettings
|
class BuerklinSettings
|
||||||
{
|
{
|
||||||
|
|
@ -57,7 +57,7 @@ class BuerklinSettings
|
||||||
public ?string $secret = null;
|
public ?string $secret = null;
|
||||||
|
|
||||||
#[SettingsParameter(
|
#[SettingsParameter(
|
||||||
label: new TM("user.username"),
|
label: new TM("settings.ips.buerklin.username"),
|
||||||
formType: APIKeyType::class,
|
formType: APIKeyType::class,
|
||||||
envVar: "PROVIDER_BUERKLIN_USER", envVarMode: EnvVarMode::OVERWRITE
|
envVar: "PROVIDER_BUERKLIN_USER", envVarMode: EnvVarMode::OVERWRITE
|
||||||
)]
|
)]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue