library with grid

This commit is contained in:
Benjamin Takats
2023-01-20 16:11:02 +01:00
parent 799c3cd2e6
commit e318ae0053

View File

@@ -84,7 +84,7 @@
@if($libraryItem->type !== 'markdown_article')
<x-button
x-data="{
textToCopy: '{{ url()->route('library.table.libraryItems', ['country' => 'de', 'table' => ['filters' => ['id' => $libraryItem->id]]]) }}',
textToCopy: '{{ url()->route('article.view', ['libraryItem' => $libraryItem]) }}',
}"
@click.prevent="window.navigator.clipboard.writeText(textToCopy);window.$wireui.notify({title:'{{ __('Share url copied!') }}',icon:'success'});"
lg black>
@@ -94,7 +94,7 @@
@else
<x-button
x-data="{
textToCopy: '{{ url()->route('library.table.libraryItems', ['country' => 'de', 'table' => ['filters' => ['id' => $libraryItem->id]]]) }}',
textToCopy: '{{ url()->route('article.view', ['libraryItem' => $libraryItem]) }}',
}"
@click.prevent="window.navigator.clipboard.writeText(textToCopy);window.$wireui.notify({title:'{{ __('Share url copied!') }}',icon:'success'});"
xs black>