table buttons changed

This commit is contained in:
Benjamin Takats
2023-01-17 16:56:24 +01:00
parent ed24fe6616
commit 3a32d1ebe5
4 changed files with 20 additions and 19 deletions

View File

@@ -1,4 +1,4 @@
<div>
<div class="flex flex-col space-y-1">
@if($row->meetup_events_count > 0)
<x-button
xs
@@ -7,17 +7,6 @@
<i class="fa fa-thin fa-calendar mr-2"></i>
{{ __('Show dates') }} ({{ $row->meetup_events_count }})
</x-button>
<x-button
xs
x-data="{
textToCopy: '{{ route('meetup.ics', ['country' => $country, 'meetup' => $row->id]) }}',
}"
@click.prevent="window.navigator.clipboard.writeText(textToCopy);window.$wireui.notify({title:'{{ __('Calendar Stream Url copied!') }}',description:'{{ __('Paste the calendar stream link into a compatible calendar app.') }}',icon:'success'});"
amber>
<i class="fa fa-thin fa-calendar-arrow-down mr-2"></i>
{{ __('Calendar Stream-Url') }} ({{ $row->meetup_events_count }})
</x-button>
@endif
@if($row->meetup_events_count < 1)
<x-button
@@ -28,6 +17,17 @@
{{ __('Show dates') }} ({{ $row->meetup_events_count }})
</x-button>
@endif
<x-button
xs
black
x-data="{
textToCopy: '{{ route('meetup.ics', ['country' => $country, 'meetup' => $row->id]) }}',
}"
@click.prevent="window.navigator.clipboard.writeText(textToCopy);window.$wireui.notify({title:'{{ __('Calendar Stream Url copied!') }}',description:'{{ __('Paste the calendar stream link into a compatible calendar app.') }}',icon:'success'});"
>
<i class="fa fa-thin fa-calendar-arrow-down mr-2"></i>
{{ __('Calendar Stream-Url') }} ({{ $row->meetup_events_count }})
</x-button>
<x-button
black
xs
@@ -39,7 +39,7 @@
@if($row->telegram_link)
<x-button
xs
secondary
black
target="_blank"
:href="$row->telegram_link"
>
@@ -50,7 +50,7 @@
@if($row->webpage)
<x-button
xs
secondary
black
target="_blank"
:href="$row->webpage"
>
@@ -61,7 +61,7 @@
@if($row->twitter_username)
<x-button
xs
secondary
black
target="_blank"
:href="$row->twitter_username"
>