mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
15 lines
475 B
PHP
15 lines
475 B
PHP
<div>
|
|
@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
|
|
</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
|
|
</x-button>
|
|
@endif
|
|
</div>
|