mirror of
https://github.com/openvk/openvk
synced 2024-11-11 01:19:53 +03:00
Wall: Added a Pinned string to Post (microblog style)
This commit is contained in:
parent
a88b79022e
commit
7778dd7d38
2 changed files with 6 additions and 10 deletions
|
@ -23,15 +23,13 @@
|
|||
{if $author->isVerified()}<img class="name-checkmark" src="/assets/packages/static/openvk/img/checkmark.png">{/if}
|
||||
{ifset $compact}<br>
|
||||
<a href="/wall{$post->getPrettyId()}" class="date">
|
||||
{if $post->isPinned()}
|
||||
{$post->getPublicationTime()},
|
||||
{_pinned}
|
||||
{else}
|
||||
{$post->getPublicationTime()}
|
||||
{/if}
|
||||
{$post->getPublicationTime()}
|
||||
</a>
|
||||
|
||||
{/ifset}
|
||||
{if $post->isPinned()}
|
||||
<span class="nobold">{_pinned}</span>
|
||||
{/if}
|
||||
{if $post->canBeDeletedBy($thisUser) && !($forceNoDeleteLink ?? false) && !isset($compact)}
|
||||
<a class="delete" href="/wall{$post->getPrettyId()}/delete"></a>
|
||||
{/if}
|
||||
|
|
|
@ -40,11 +40,9 @@
|
|||
{/if}
|
||||
<br/>
|
||||
<a href="/wall{$post->getPrettyId()}" class="date">
|
||||
{$post->getPublicationTime()}
|
||||
{if $post->isPinned()}
|
||||
{$post->getPublicationTime()},
|
||||
{_pinned}
|
||||
{else}
|
||||
{$post->getPublicationTime()}
|
||||
, {_pinned}
|
||||
{/if}
|
||||
</a>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue