mirror of
https://code.castopod.org/adaures/castopod.git
synced 2024-09-06 18:59:20 +02:00
- authenticated pages are not cached - add AnalyticsTrait to register a podcast webpage hit across mutliple controllers - set actor_id as unique in podcasts table - fix issues with preview card not appearing - update codeigniter4-uuid
24 lines
807 B
PHP
24 lines
807 B
PHP
<?= $this->include('podcast/_partials/note') ?>
|
|
<div class="-mt-2 overflow-hidden border-b border-l border-r note-replies rounded-b-xl">
|
|
|
|
<div class="px-6 pt-8 pb-4 bg-gray-50">
|
|
<?= anchor_popup(
|
|
route_to('note-remote-action', $podcast->name, $note->id, 'reply'),
|
|
lang('Note.reply_to', ['actorUsername' => $note->actor->username]),
|
|
[
|
|
'class' =>
|
|
'text-center justify-center font-semibold rounded-full shadow relative z-10 px-4 py-2 w-full bg-rose-600 text-white inline-flex items-center hover:bg-rose-700',
|
|
'width' => 420,
|
|
'height' => 620,
|
|
],
|
|
) ?>
|
|
</div>
|
|
|
|
|
|
<?php if ($note->has_replies): ?>
|
|
<?php foreach ($note->replies as $reply): ?>
|
|
<?= view('podcast/_partials/reply', ['reply' => $reply]) ?>
|
|
<?php endforeach; ?>
|
|
<?php endif; ?>
|
|
</div>
|