mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
course_events_count
This commit is contained in:
@@ -1 +1,12 @@
|
||||
<x-button amber wire:click="venueSearch({{ $row->id }})">Termine anzeigen</x-button>
|
||||
<div>
|
||||
@if($row->course_events_count > 0)
|
||||
<x-button amber wire:click="venueSearch({{ $row->id }})">
|
||||
Termine anzeigen ({{ $row->course_events_count }})
|
||||
</x-button>
|
||||
@endif
|
||||
@if($row->course_events_count < 1)
|
||||
<x-button outlined wire:click="venueSearch({{ $row->id }})">
|
||||
Termine anzeigen ({{ $row->course_events_count }})
|
||||
</x-button>
|
||||
@endif
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user