mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
add languages
This commit is contained in:
@@ -2,19 +2,19 @@
|
||||
@if(str($row->value)->contains('http'))
|
||||
<x-button amber href="{{ $row->value }}" target="_blank">
|
||||
<i class="fa fa-thin fa-book-open mr-2"></i>
|
||||
Öffnen
|
||||
{{ __('Open') }}
|
||||
</x-button>
|
||||
@endif
|
||||
@if($row->type === 'downloadable_file')
|
||||
<x-button amber href="{{ $row->getFirstMediaUrl('single_file') }}" target="_blank">
|
||||
<i class="fa fa-thin fa-download mr-2"></i>
|
||||
Download
|
||||
{{ __('Download') }}
|
||||
</x-button>
|
||||
@endif
|
||||
@if($row->type === 'podcast_episode')
|
||||
<x-button amber href="{{ $row->episode->data['enclosureUrl'] }}" target="_blank">
|
||||
<i class="fa fa-thin fa-headphones mr-2"></i>
|
||||
Anhören
|
||||
{{ __('Listen') }}
|
||||
</x-button>
|
||||
@endif
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user