mirror of
https://code.castopod.org/adaures/castopod
synced 2025-05-10 16:25:47 +00:00

- update Component class structure and remove component helper function and ComponentLoader - update residual activitypub naming to fediverse
16 lines
680 B
PHP
16 lines
680 B
PHP
<footer>
|
|
<button class="inline-flex items-center opacity-50 cursor-not-allowed hover:underline" title="<?= lang(
|
|
'Comment.like',
|
|
[
|
|
'numberOfLikes' => $comment->likes_count,
|
|
],
|
|
) ?>"><?= icon('heart', 'text-xl mr-1 text-gray-500') . $comment->likes_count ?></button>
|
|
<?php if($comment->replies_count): ?>
|
|
<?= anchor(
|
|
route_to('post', $podcast->handle, $comment->id),
|
|
icon('caret-down', 'text-xl mr-1') . lang('Comment.view_replies', ['numberOfReplies' => $comment->replies_count]),
|
|
['class' => 'inline-flex items-center text-xs hover:underline']
|
|
) ?>
|
|
<?php endif; ?>
|
|
</footer>
|