mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-12-07 19:49:30 +00:00
Allow to define icons for settings
This commit is contained in:
parent
947cce78d7
commit
47830dcd08
8 changed files with 72 additions and 3 deletions
|
|
@ -24,6 +24,7 @@ declare(strict_types=1);
|
|||
namespace App\Settings\SystemSettings;
|
||||
|
||||
use App\Form\Type\LocaleSelectType;
|
||||
use App\Settings\SettingsIcon;
|
||||
use Jbtronics\SettingsBundle\Metadata\EnvVarMode;
|
||||
use Jbtronics\SettingsBundle\Settings\Settings;
|
||||
use Jbtronics\SettingsBundle\Settings\SettingsParameter;
|
||||
|
|
@ -34,6 +35,7 @@ use Symfony\Component\Translation\TranslatableMessage as TM;
|
|||
use Symfony\Component\Validator\Constraints as Assert;
|
||||
|
||||
#[Settings(label: new TM("settings.system.localization"))]
|
||||
#[SettingsIcon("fa-globe")]
|
||||
class LocalizationSettings
|
||||
{
|
||||
use SettingsTrait;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue