File tree Expand file tree Collapse file tree 4 files changed +11
-4
lines changed Expand file tree Collapse file tree 4 files changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -83,14 +83,19 @@ public static function form(Form $form): Form
83
83
->columnSpan (2 )
84
84
->tabs ([
85
85
Tab::make (flexiblePagesTrans ('pages.tabs.general ' ))
86
+ ->icon ('heroicon-m-globe-alt ' )
86
87
->schema (static ::getGeneralTabFields ()),
87
88
Tab::make (flexiblePagesTrans ('pages.tabs.content ' ))
89
+ ->icon ('heroicon-o-rectangle-group ' )
88
90
->schema (static ::getContentTabFields ()),
89
91
Tab::make (flexiblePagesTrans ('pages.tabs.overview ' ))
92
+ ->icon ('heroicon-o-magnifying-glass ' )
90
93
->schema (static ::getOverviewTabFields ()),
91
94
Tab::make (flexiblePagesTrans ('pages.tabs.seo ' ))
95
+ ->icon ('heroicon-o-globe-alt ' )
92
96
->schema (static ::getSEOTabFields ()),
93
97
Tab::make (flexiblePagesTrans ('pages.tabs.advanced ' ))
98
+ ->icon ('heroicon-o-wrench-screwdriver ' )
94
99
->schema (static ::getAdvancedTabFields ()),
95
100
])
96
101
->persistTabInQueryString (),
Original file line number Diff line number Diff line change 6
6
use Filament \Resources \Pages \CreateRecord ;
7
7
use Statikbe \FilamentFlexibleContentBlockPages \Facades \FilamentFlexibleContentBlockPages ;
8
8
use Statikbe \FilamentFlexibleContentBlockPages \FilamentFlexibleContentBlockPagesConfig ;
9
+ use Statikbe \FilamentFlexibleContentBlocks \Filament \Actions \FlexibleLocaleSwitcher ;
9
10
use Statikbe \FilamentFlexibleContentBlocks \Filament \Pages \CreateRecord \Concerns \TranslatableWithMedia ;
10
11
11
12
class CreatePage extends CreateRecord
@@ -20,7 +21,7 @@ public static function getResource(): string
20
21
protected function getActions (): array
21
22
{
22
23
return [
23
- LocaleSwitcher ::make (),
24
+ FlexibleLocaleSwitcher ::make (),
24
25
];
25
26
}
26
27
}
Original file line number Diff line number Diff line change 3
3
namespace Statikbe \FilamentFlexibleContentBlockPages \Resources \PageResource \Pages ;
4
4
5
5
use Filament \Actions \DeleteAction ;
6
- use Filament \Actions \LocaleSwitcher ;
6
+ use Statikbe \ FilamentFlexibleContentBlocks \ Filament \Actions \FlexibleLocaleSwitcher ;
7
7
use Filament \Resources \Pages \EditRecord ;
8
8
use Statikbe \FilamentFlexibleContentBlockPages \Facades \FilamentFlexibleContentBlockPages ;
9
9
use Statikbe \FilamentFlexibleContentBlockPages \FilamentFlexibleContentBlockPagesConfig ;
@@ -24,7 +24,7 @@ protected function getActions(): array
24
24
{
25
25
return [
26
26
CopyContentBlocksToLocalesAction::make (),
27
- LocaleSwitcher ::make (),
27
+ FlexibleLocaleSwitcher ::make (),
28
28
DeleteAction::make ()
29
29
->visible (fn (Page $ record ) => $ record ->isDeletable ()),
30
30
];
Original file line number Diff line number Diff line change 8
8
use Filament \Resources \Pages \ListRecords \Concerns \Translatable ;
9
9
use Statikbe \FilamentFlexibleContentBlockPages \Facades \FilamentFlexibleContentBlockPages ;
10
10
use Statikbe \FilamentFlexibleContentBlockPages \FilamentFlexibleContentBlockPagesConfig ;
11
+ use Statikbe \FilamentFlexibleContentBlocks \Filament \Actions \FlexibleLocaleSwitcher ;
11
12
12
13
class ListPages extends ListRecords
13
14
{
@@ -21,7 +22,7 @@ public static function getResource(): string
21
22
protected function getActions (): array
22
23
{
23
24
return [
24
- LocaleSwitcher ::make (),
25
+ FlexibleLocaleSwitcher ::make (),
25
26
CreateAction::make (),
26
27
];
27
28
}
You can’t perform that action at this time.
0 commit comments