mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-13 06:56:48 +00:00
stream calendar
This commit is contained in:
@@ -3,13 +3,25 @@
|
||||
<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
|
||||
|
||||
Reference in New Issue
Block a user