mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
buttons outlined
This commit is contained in:
@@ -21,6 +21,7 @@ class CityTable extends DataTableComponent
|
||||
public function configure(): void
|
||||
{
|
||||
$this->setPrimaryKey('id')
|
||||
->setDefaultSort('course_events_count', 'desc')
|
||||
->setAdditionalSelects(['id'])
|
||||
->setThAttributes(function (Column $column) {
|
||||
return [
|
||||
|
||||
@@ -1,10 +1,18 @@
|
||||
<div class="flex flex-col space-y-1">
|
||||
@if($type === 'school')
|
||||
<div>
|
||||
@if($row->course_events_count > 0)
|
||||
<x-button amber wire:click="proximitySearch({{ $row->id }})" class="text-21gray">
|
||||
<i class="fa fa-thin fa-person-chalkboard mr-2"></i>
|
||||
Umkreis-Suche Kurs-Termin {{ $row->name }} (100km)
|
||||
</x-button>
|
||||
@endif
|
||||
@if($row->course_events_count < 1)
|
||||
<x-button outlined wire:click="proximitySearch({{ $row->id }})" class="text-21gray">
|
||||
<i class="fa fa-thin fa-person-chalkboard mr-2"></i>
|
||||
Umkreis-Suche Kurs-Termin {{ $row->name }} (100km)
|
||||
</x-button>
|
||||
@endif
|
||||
</div>
|
||||
@endif
|
||||
@if($type === 'bookCase')
|
||||
|
||||
Reference in New Issue
Block a user