This commit is contained in:
Benjamin Takats
2023-01-16 13:00:30 +01:00
parent 147c384975
commit 44b282e442

View File

@@ -1,6 +1,6 @@
<div> <div>
@if(str($row->value)->contains('http')) @if(str($row->value)->contains('http'))
<x-button amber href="{{ $row->value }}" target="_blank"> <x-button amber :href="$row->value" target="_blank">
<i class="fa fa-thin fa-book-open mr-2"></i> <i class="fa fa-thin fa-book-open mr-2"></i>
{{ __('Open') }} {{ __('Open') }}
</x-button> </x-button>
@@ -12,7 +12,7 @@
</x-button> </x-button>
@endif @endif
@if($row->type === 'podcast_episode') @if($row->type === 'podcast_episode')
<x-button amber href="{{ $row->episode->data['enclosureUrl'] }}" target="_blank"> <x-button amber :href="$row->episode->data['enclosureUrl']" target="_blank">
<i class="fa fa-thin fa-headphones mr-2"></i> <i class="fa fa-thin fa-headphones mr-2"></i>
{{ __('Listen') }} {{ __('Listen') }}
</x-button> </x-button>