2021-04-02 17:20:02 +00:00
|
|
|
<footer class="mt-2 space-x-6 text-sm">
|
|
|
|
<?= anchor(
|
2021-08-13 11:07:29 +00:00
|
|
|
route_to('post', $podcast->handle, $reply->id),
|
2021-04-02 17:20:02 +00:00
|
|
|
icon('chat', 'text-xl mr-1 text-gray-400') . $reply->replies_count,
|
|
|
|
[
|
|
|
|
'class' => 'inline-flex items-center hover:underline',
|
2021-08-13 11:07:29 +00:00
|
|
|
'title' => lang('Post.replies', [
|
2021-04-02 17:20:02 +00:00
|
|
|
'numberOfReplies' => $reply->replies_count,
|
|
|
|
]),
|
|
|
|
],
|
|
|
|
) ?>
|
|
|
|
<?= anchor_popup(
|
2021-08-13 11:07:29 +00:00
|
|
|
route_to('post-remote-action', $podcast->handle, $reply->id, 'reblog'),
|
2021-04-02 17:20:02 +00:00
|
|
|
icon('repeat', 'text-xl mr-1 text-gray-400') . $reply->reblogs_count,
|
|
|
|
[
|
|
|
|
'class' => 'inline-flex items-center hover:underline',
|
|
|
|
'width' => 420,
|
|
|
|
'height' => 620,
|
2021-08-13 11:07:29 +00:00
|
|
|
'title' => lang('Post.reblogs', [
|
2021-04-02 17:20:02 +00:00
|
|
|
'numberOfReblogs' => $reply->reblogs_count,
|
|
|
|
]),
|
|
|
|
],
|
|
|
|
) ?>
|
|
|
|
<?= anchor_popup(
|
2021-08-13 11:07:29 +00:00
|
|
|
route_to('post-remote-action', $podcast->handle, $reply->id, 'favourite'),
|
2021-04-02 17:20:02 +00:00
|
|
|
icon('heart', 'text-xl mr-1 text-gray-400') . $reply->favourites_count,
|
|
|
|
[
|
|
|
|
'class' => 'inline-flex items-center hover:underline',
|
|
|
|
'width' => 420,
|
|
|
|
'height' => 620,
|
2021-08-13 11:07:29 +00:00
|
|
|
'title' => lang('Post.favourites', [
|
2021-04-02 17:20:02 +00:00
|
|
|
'numberOfFavourites' => $reply->favourites_count,
|
|
|
|
]),
|
|
|
|
],
|
|
|
|
) ?>
|
2021-05-06 14:00:48 +00:00
|
|
|
</footer>
|