mirror of
https://github.com/openvk/openvk
synced 2024-11-11 01:19:53 +03:00
Comments: Fix layout and likes count
This commit is contained in:
parent
be965be47d
commit
e9635be5a8
1 changed files with 2 additions and 2 deletions
|
@ -10,7 +10,7 @@
|
|||
width="30"
|
||||
class="cCompactAvatars" />
|
||||
</td>
|
||||
<td width="345" valign="top">
|
||||
<td width="100%" valign="top">
|
||||
<div class="post-author">
|
||||
<a href="{$author->getURL()}"><b>
|
||||
{$author->getCanonicalName()}
|
||||
|
@ -37,7 +37,7 @@
|
|||
<div style="float: right; font-size: .7rem;">
|
||||
<a class="post-like-button" href="/comment{$comment->getId()}/like?hash={rawurlencode($csrfToken)}">
|
||||
<div class="heart" style="{if $comment->hasLikeFrom($thisUser)}opacity: 1;{else}opacity: 0.4;{/if}"></div>
|
||||
<span class="likeCnt">{$comment->getLikesCount()}</span>
|
||||
<span class="likeCnt">{if $comment->getLikesCount() > 0}{$comment->getLikesCount()}{/if}</span>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue