extend('_layout') ?> section('title') ?> endSection() ?> section('pageTitle') ?> endSection() ?> section('headerRight') ?> endSection() ?> section('content') ?>
read_at === null ? 'bg-heading-background' : 'bg-base'; ?>
post_id !== null ? $notification->post : null; $actorUsername = '@' . esc($notification->actor ->username) . ($notification->actor->is_local ? '' : '@' . esc($notification->actor->domain)); $actorUsernameHtml = <<{$actorUsername} CODE_SAMPLE; $targetActorUsername = '@' . esc($notification->target_actor->username); $targetActorUsernameHtml = <<{$targetActorUsername} CODE_SAMPLE; $notificationTitle = match ($notification->type) { 'reply' => lang('Notifications.reply', [ 'actor_username' => $actorUsernameHtml, ], null, false), 'like' => lang('Notifications.favourite', [ 'actor_username' => $actorUsernameHtml, ], null, false), 'share' => lang('Notifications.reblog', [ 'actor_username' => $actorUsernameHtml, ], null, false), 'follow' => lang('Notifications.follow', [ 'actor_username' => $actorUsernameHtml, ], null, false), default => '', }; $notificationContent = $post !== null ? $post->message_html : null; $postLink = $post !== null ? route_to('post', esc($podcast->handle), $post->id) : route_to('podcast-activity', esc($podcast->handle)); $link = $notification->read_at !== null ? $postLink : route_to('notification-mark-as-read', $podcast->id, $notification->id); ?>
<?= esc($notification->actor->display_name) ?> type) { 'reply' => icon('chat', 'text-sky-500 text-base'), 'like' => icon('heart', 'text-rose-500 text-base'), 'share' => icon('repeat', 'text-green-500 text-base'), 'follow' => icon('user-follow', 'text-violet-500 text-base'), default => '', }; ?>

created_at) ?>
links() ?>
endsection() ?>