mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-13 06:56:48 +00:00
library with grid
This commit is contained in:
@@ -84,7 +84,7 @@
|
|||||||
@if($libraryItem->type !== 'markdown_article')
|
@if($libraryItem->type !== 'markdown_article')
|
||||||
<x-button
|
<x-button
|
||||||
x-data="{
|
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'});"
|
@click.prevent="window.navigator.clipboard.writeText(textToCopy);window.$wireui.notify({title:'{{ __('Share url copied!') }}',icon:'success'});"
|
||||||
lg black>
|
lg black>
|
||||||
@@ -94,7 +94,7 @@
|
|||||||
@else
|
@else
|
||||||
<x-button
|
<x-button
|
||||||
x-data="{
|
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'});"
|
@click.prevent="window.navigator.clipboard.writeText(textToCopy);window.$wireui.notify({title:'{{ __('Share url copied!') }}',icon:'success'});"
|
||||||
xs black>
|
xs black>
|
||||||
|
|||||||
Reference in New Issue
Block a user