mirror of
https://github.com/humhub/humhub.git
synced 2025-01-17 14:18:27 +01:00
make like counter clickable in first like
This commit is contained in:
parent
03867c5ce3
commit
fd01f3827d
@ -84,3 +84,4 @@ HumHub Changelog
|
||||
- Chng #4509: Removed `humhub\modules\space\widgets\Picker` which is deprecated since v1.2
|
||||
- Fix #4396: Submitting only picture in comment results in debug error.
|
||||
- Enh #4469: Added alias for file uploads folder
|
||||
- Fix #4513: Make like counter clickable in first like
|
||||
|
@ -19,13 +19,13 @@ humhub\modules\like\assets\LikeAsset::register($this);
|
||||
</a>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if (count($likes) > 0) { ?>
|
||||
<!-- Create link to show all users, who liked this -->
|
||||
<a href="<?php echo $userListUrl; ?>" data-target="#globalModal">
|
||||
<a href="<?php echo $userListUrl; ?>" data-target="#globalModal">
|
||||
<?php if (count($likes)) : ?>
|
||||
<span class="likeCount tt" data-placement="top" data-toggle="tooltip" title="<?= $title ?>">(<?= count($likes) ?>)</span>
|
||||
</a>
|
||||
<?php } else { ?>
|
||||
<span class="likeCount"></span>
|
||||
<?php } ?>
|
||||
<?php else: ?>
|
||||
<span class="likeCount"></span>
|
||||
<?php endif; ?>
|
||||
</a>
|
||||
|
||||
</span>
|
||||
|
Loading…
x
Reference in New Issue
Block a user