2021-08-13 11:07:29 +00:00
|
|
|
<?= $this->include('podcast/_partials/post') ?>
|
|
|
|
<div class="-mt-2 overflow-hidden border-b border-l border-r post-replies rounded-b-xl">
|
2021-04-02 17:20:02 +00:00
|
|
|
|
|
|
|
<div class="px-6 pt-8 pb-4 bg-gray-50">
|
|
|
|
<?= anchor_popup(
|
2021-08-13 11:07:29 +00:00
|
|
|
route_to('post-remote-action', $podcast->handle, $post->id, 'reply'),
|
|
|
|
lang('Post.reply_to', ['actorUsername' => $post->actor->username]),
|
2021-04-02 17:20:02 +00:00
|
|
|
[
|
|
|
|
'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>
|
|
|
|
|
|
|
|
|
2021-08-13 11:07:29 +00:00
|
|
|
<?php if ($post->has_replies): ?>
|
|
|
|
<?php foreach ($post->replies as $reply): ?>
|
2021-04-22 17:20:28 +00:00
|
|
|
<?= view('podcast/_partials/reply', ['reply' => $reply]) ?>
|
|
|
|
<?php endforeach; ?>
|
|
|
|
<?php endif; ?>
|
2021-04-02 17:20:02 +00:00
|
|
|
</div>
|