mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
24 lines
740 B
PHP
24 lines
740 B
PHP
<div class="flex flex-col space-y-1">
|
|
@if($row->course_events_count > 0)
|
|
<div>
|
|
<x-button xs amber wire:click="courseSearch({{ $row->id }})">
|
|
{{ __('Show dates') }} [{{ $row->course_events_count }}]
|
|
</x-button>
|
|
</div>
|
|
@else
|
|
<div>
|
|
<x-button xs outline wire:click="courseSearch({{ $row->id }})">
|
|
{{ __('Show dates') }}
|
|
</x-button>
|
|
</div>
|
|
@endif
|
|
@can('update', $row)
|
|
<div>
|
|
<x-button amber xs :href="route('course.form.course', ['course' => $row])">
|
|
<i class="fa fa-thin fa-edit"></i>
|
|
{{ __('Edit') }}
|
|
</x-buttonamber>
|
|
</div>
|
|
@endcan
|
|
</div>
|