mirror of
https://github.com/openvk/openvk
synced 2024-12-23 00:51:03 +03:00
Microblog: Display the wall on which the post was posted if it is someone else's wall
This commit is contained in:
parent
c1f2c9f004
commit
6904a86064
1 changed files with 16 additions and 0 deletions
|
@ -25,6 +25,22 @@
|
|||
</b>
|
||||
</a>
|
||||
{if $author->isVerified()}<img class="name-checkmark" src="/assets/packages/static/openvk/img/checkmark.png">{/if}
|
||||
{if ($onWallOf ?? false) &&!$post->isPostedOnBehalfOfGroup() && $post->getOwnerPost() !== $post->getTargetWall()}
|
||||
{var wallId = $post->getTargetWall()}
|
||||
{var wallURL = $wallId > -1 ? "/id$wallId" : "/club" . abs($wallId)}
|
||||
на
|
||||
<a href="{$wallURL}">
|
||||
<b>
|
||||
{if isset($thisUser) && $thisUser->getId() === $wallId}
|
||||
вашей
|
||||
{/if}
|
||||
стене
|
||||
{if $wallId < 0}
|
||||
группы
|
||||
{/if}
|
||||
</b>
|
||||
</a>
|
||||
{/if}
|
||||
{ifset $compact}<br>
|
||||
<a href="/wall{$post->getPrettyId()}" class="date">
|
||||
{$post->getPublicationTime()}
|
||||
|
|
Loading…
Reference in a new issue