mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
29 lines
1.2 KiB
PHP
29 lines
1.2 KiB
PHP
<div>
|
|
@if($row->meetup_events_count > 0)
|
|
<x-button
|
|
amber
|
|
wire:click="meetupEventSearch({{ $row->id }})">
|
|
<i class="fa fa-thin fa-calendar mr-2"></i>
|
|
{{ __('Show dates') }} ({{ $row->meetup_events_count }})
|
|
</x-button>
|
|
|
|
<x-button
|
|
x-data="{
|
|
textToCopy: '{{ route('meetup.ics', ['country' => $country, 'meetup' => $row->id]) }}',
|
|
}"
|
|
@click.prevent="window.navigator.clipboard.writeText(textToCopy);window.$wireui.notify({title:'Kalendar URL kopiert!',description:'Füge den Kalender Stream-Link in eine kompatible Kalender-App ein.',icon:'success'});"
|
|
amber>
|
|
<i class="fa fa-thin fa-calendar-arrow-down mr-2"></i>
|
|
{{ __('Stream Calendar (WIP)') }} ({{ $row->meetup_events_count }})
|
|
</x-button>
|
|
@endif
|
|
@if($row->meetup_events_count < 1)
|
|
<x-button
|
|
outlined
|
|
wire:click="meetupEventSearch({{ $row->id }})">
|
|
<i class="fa fa-thin fa-calendar-circle-exclamation mr-2"></i>
|
|
{{ __('Show dates') }} ({{ $row->meetup_events_count }})
|
|
</x-button>
|
|
@endif
|
|
</div>
|