Seeds hinzugefügt, Übersetzungen für Plugins und Dashboard ergänzt

This commit is contained in:
2025-08-21 11:08:53 +02:00
parent b1de8f53c6
commit 44dd0f2867
13 changed files with 893 additions and 52 deletions

View File

@@ -20,8 +20,8 @@ class UserResource extends Resource
{
protected static ?string $model = User::class;
protected static ?string $navigationIcon = 'heroicon-o-rectangle-stack';
protected static ?string $navigationGroup = 'User Management';
protected static ?string $navigationLabel = 'User Roles';
public static function form(Form $form): Form
{
@@ -112,5 +112,15 @@ class UserResource extends Resource
'create' => Pages\CreateUser::route('/create'),
'edit' => Pages\EditUser::route('/{record}/edit'),
];
}
public static function getNavigationGroup(): ?string
{
return __('filament.navigation.groups.user_management');
}
public static function getNavigationLabel(): string
{
return __('filament.navigation.user_roles');
}
}