diff --git a/themes/cp_app/episode/_partials/comment_actions.php b/themes/cp_app/episode/_partials/comment_actions.php index 245ced85..bb4c9ed7 100644 --- a/themes/cp_app/episode/_partials/comment_actions.php +++ b/themes/cp_app/episode/_partials/comment_actions.php @@ -29,7 +29,7 @@ ) ?>">likes_count ?> replies_count): ?> episode->podcast->handle, $episode->slug, $comment->id), + route_to('episode-comment', $comment->episode->podcast->handle, $comment->episode->slug, $comment->id), icon('caret-down', 'text-xl mr-1') . lang('Comment.view_replies', [ 'numberOfReplies' => $comment->replies_count, ]), diff --git a/themes/cp_app/episode/comments.php b/themes/cp_app/episode/comments.php index a90b4644..33e9c9b4 100644 --- a/themes/cp_app/episode/comments.php +++ b/themes/cp_app/episode/comments.php @@ -55,12 +55,14 @@ -comments as $comment): ?> - + comments as $comment): ?> + $comment, - 'podcast' => $podcast, + 'podcast' => $podcast, ]) ?> - + + endSection() ?> diff --git a/themes/cp_app/post/_partials/reply_actions.php b/themes/cp_app/post/_partials/reply_actions.php index 1c15ae81..8567805b 100644 --- a/themes/cp_app/post/_partials/reply_actions.php +++ b/themes/cp_app/post/_partials/reply_actions.php @@ -1,5 +1,7 @@ - + diff --git a/themes/cp_app/post/remote_action.php b/themes/cp_app/post/remote_action.php index 29a2b98e..3a885e9e 100644 --- a/themes/cp_app/post/remote_action.php +++ b/themes/cp_app/post/remote_action.php @@ -38,7 +38,11 @@ ) ?>
- include('post/_partials/card') ?> + 1, + 'podcast' => $podcast, + 'post' => $post, + ]) ?>