Seeds hinzugefügt, Übersetzungen für Plugins und Dashboard ergänzt
This commit is contained in:
@@ -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');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user