This commit is contained in:
Benjamin Takats
2023-01-24 16:59:36 +01:00
parent 7e5f6c30ad
commit e444a4e973
11 changed files with 267 additions and 203 deletions

View File

@@ -1,12 +1,16 @@
<div wire:key="venues_action_{{ $row->id }}">
@if($row->course_events_count > 0)
<x-button amber wire:click="venueSearch({{ $row->id }})">
{{ __('Show dates') }} ({{ $row->course_events_count }})
</x-button>
@endif
@if($row->course_events_count < 1)
<x-button outlined wire:click="venueSearch({{ $row->id }})">
{{ __('Show dates') }} ({{ $row->course_events_count }})
</x-button>
@endif
<div>
<div>
@if($row->course_events_count > 0)
<x-button amber wire:click="venueSearch({{ $row->id }})">
{{ __('Show dates') }} ({{ $row->course_events_count }})
</x-button>
@endif
</div>
<div>
@if($row->course_events_count < 1)
<x-button outlined wire:click="venueSearch({{ $row->id }})">
{{ __('Show dates') }} ({{ $row->course_events_count }})
</x-button>
@endif
</div>
</div>