diff --git a/app/Http/Livewire/Tables/CourseTable.php b/app/Http/Livewire/Tables/CourseTable.php index c4b106a7..70b2c3a4 100644 --- a/app/Http/Livewire/Tables/CourseTable.php +++ b/app/Http/Livewire/Tables/CourseTable.php @@ -32,7 +32,14 @@ class CourseTable extends DataTableComponent ]; }) ->setColumnSelectStatus(false) - ->setPerPage(10); + ->setPerPage(10) + ->setConfigurableAreas([ + 'toolbar-left-end' => [ + 'columns.courses.areas.toolbar-left-end', [ + 'country' => $this->country, + ], + ], + ]); } public function filters(): array diff --git a/app/Http/Livewire/Tables/EventTable.php b/app/Http/Livewire/Tables/EventTable.php index 7136a263..854a62ea 100644 --- a/app/Http/Livewire/Tables/EventTable.php +++ b/app/Http/Livewire/Tables/EventTable.php @@ -45,7 +45,14 @@ class EventTable extends DataTableComponent ]; }) ->setColumnSelectStatus(false) - ->setPerPage(10); + ->setPerPage(10) + ->setConfigurableAreas([ + 'toolbar-left-end' => [ + 'columns.course-events.areas.toolbar-left-end', [ + 'country' => $this->country, + ], + ], + ]); } public function filters(): array diff --git a/app/Http/Livewire/Tables/VenueTable.php b/app/Http/Livewire/Tables/VenueTable.php index 582494eb..c2b211a7 100644 --- a/app/Http/Livewire/Tables/VenueTable.php +++ b/app/Http/Livewire/Tables/VenueTable.php @@ -31,7 +31,14 @@ class VenueTable extends DataTableComponent ]; }) ->setColumnSelectStatus(false) - ->setPerPage(10); + ->setPerPage(10) + ->setConfigurableAreas([ + 'toolbar-left-end' => [ + 'columns.venues.areas.toolbar-left-end', [ + 'country' => $this->country, + ], + ], + ]); } public function columns(): array diff --git a/resources/lang/de.json b/resources/lang/de.json index c967546a..02e91685 100644 --- a/resources/lang/de.json +++ b/resources/lang/de.json @@ -784,6 +784,6 @@ "You overwrite your user\\'s public key and then have to log in with the wallet, which you now use to scan or log in.": "", ":name\\'s Avatar": "", "Manage": "Verwalten", - "Manage content creators": "Verwalte Content Creator", - "Lecturers\/Content Creators": "Dozenten\/Content Creator" + "Manage content creators": "Verwalte Content Creators", + "Lecturers\/Content Creators": "Dozenten\/Content Creators" } diff --git a/resources/views/columns/course-events/areas/toolbar-left-end.blade.php b/resources/views/columns/course-events/areas/toolbar-left-end.blade.php new file mode 100644 index 00000000..f43cf186 --- /dev/null +++ b/resources/views/columns/course-events/areas/toolbar-left-end.blade.php @@ -0,0 +1,6 @@ +