<?= esc($episode->title) ?>
is_premium): ?>
published_at, $episode->publication_status, 'text-sm'); ?>
published_at, $episode->publication_status, 'absolute top-0 left-0 ml-2 mt-2 text-sm'); ?>
number, $episode->season_number, 'text-xs font-semibold !no-underline px-1 bg-black/50 mr-1', true) ?> title) ?>
'link', 'title' => lang('Episode.go_to_page'), 'uri' => route_to('episode', esc($episode->podcast->handle), esc($episode->slug)), ], [ 'type' => 'link', 'title' => lang('Episode.edit'), 'uri' => route_to('episode-edit', $episode->podcast->id, $episode->id), ], [ 'type' => 'link', 'title' => lang('Episode.embed.title'), 'uri' => route_to('embed-add', $episode->podcast->id, $episode->id), ], [ 'type' => 'link', 'title' => lang('Person.persons'), 'uri' => route_to('episode-persons-manage', $episode->podcast->id, $episode->id), ], [ 'type' => 'link', 'title' => lang('VideoClip.list.title'), 'uri' => route_to('video-clips-list', $episode->podcast->id, $episode->id), ], [ 'type' => 'link', 'title' => lang('Soundbite.list.title'), 'uri' => route_to('soundbites-list', $episode->podcast->id, $episode->id), ], [ 'type' => 'separator', ], ]; if ($episode->published_at === null) { $items[] = [ 'type' => 'link', 'title' => lang('Episode.delete'), 'uri' => route_to('episode-delete', $episode->podcast->id, $episode->id), 'class' => 'font-semibold text-red-600', ]; } else { $label = lang('Episode.delete'); $icon = icon('forbid', 'mr-2'); $title = lang('Episode.messages.unpublishBeforeDeleteTip'); $items[] = [ 'type' => 'html', 'content' => esc(<<{$icon}{$label} CODE_SAMPLE), ]; } ?>