mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
tables changed
This commit is contained in:
@@ -24,6 +24,18 @@ class CityTable extends DataTableComponent
|
||||
Column::make("Stadt Name", "name")
|
||||
->sortable()
|
||||
->searchable(),
|
||||
Column::make('Veranstaltungs-Orte')
|
||||
->label(
|
||||
fn($row, Column $column) => random_int(0, 100)
|
||||
),
|
||||
Column::make('Kurse')
|
||||
->label(
|
||||
fn($row, Column $column) => random_int(0, 100)
|
||||
),
|
||||
Column::make('')
|
||||
->label(
|
||||
fn($row, Column $column) => view('columns.cities.action')->withRow($row)
|
||||
),
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
1
resources/views/columns/cities/action.blade.php
Normal file
1
resources/views/columns/cities/action.blade.php
Normal file
@@ -0,0 +1 @@
|
||||
<x-button amber>Umkreis-Suche Füssen</x-button>
|
||||
Reference in New Issue
Block a user