Fix post indentation

This commit is contained in:
Alma Armas 2020-07-16 20:10:24 +00:00
parent 9a99aeb3fc
commit 1cc7e68424

View file

@ -15,7 +15,7 @@
{$author->getCanonicalName()} {$author->getCanonicalName()}
</b> </b>
</a> </a>
{if $author->isVerified()}<img class="name-checkmark" src="/assets/packages/static/openvk/img/checkmark.png">{/if} {if $author->isVerified()}<img class="name-checkmark" src="/assets/packages/static/openvk/img/checkmark.png">{/if}
{$post->isPostedOnBehalfOfGroup() ? "опубликовали" : ($author->isFemale() ? tr("post_writes_f") : tr("post_writes_m"))} {$post->isPostedOnBehalfOfGroup() ? "опубликовали" : ($author->isFemale() ? tr("post_writes_f") : tr("post_writes_m"))}
{if ($onWallOf ?? false) &&!$post->isPostedOnBehalfOfGroup() && $post->getOwnerPost() !== $post->getTargetWall()} {if ($onWallOf ?? false) &&!$post->isPostedOnBehalfOfGroup() && $post->getOwnerPost() !== $post->getTargetWall()}
{var wallId = $post->getTargetWall()} {var wallId = $post->getTargetWall()}
@ -86,21 +86,19 @@
</a> </a>
<div class="like_wrap">
{var liked = $post->hasLikeFrom($thisUser)}
<div class="like_wrap"> <a href="/wall{$post->getPrettyId()}/like?hash={rawurlencode($csrfToken)}"
{var liked = $post->hasLikeFrom($thisUser)} class="post-like-button"
<a href="/wall{$post->getPrettyId()}/like?hash={rawurlencode($csrfToken)}" data-liked="{(int) $liked}"
class="post-like-button" data-likes="{$post->getLikesCount()}">
data-liked="{(int) $liked}" <div class="heart" style="{if $liked}opacity: 1;{else}opacity: 0.4;{/if}"></div>
data-likes="{$post->getLikesCount()}"> <span class="likeCnt">{$post->getLikesCount()}</span>
</a>
</div>
<div class="heart" style="{if $liked}opacity: 1;{else}opacity: 0.4;{/if}"></div> </div>
<span class="likeCnt">{$post->getLikesCount()}</span> <div n:if="isset($thisUser) &&! ($compact ?? false)" class="post-menu-s">
</a></div> <!-- kosfurler -->
</div> </div>
</td> </td>
</tr> </tr>