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}
|
{if $author->isVerified()}<img class="name-checkmark" src="/assets/packages/static/openvk/img/checkmark.png">{/if}
|
||||||
{ifset $compact}<br>
|
{ifset $compact}<br>
|
||||||
<a href="/wall{$post->getPrettyId()}" class="date">
|
<a href="/wall{$post->getPrettyId()}" class="date">
|
||||||
{if $post->isPinned()}
|
|
||||||
{$post->getPublicationTime()},
|
|
||||||
{_pinned}
|
|
||||||
{else}
|
|
||||||
{$post->getPublicationTime()}
|
{$post->getPublicationTime()}
|
||||||
{/if}
|
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
{/ifset}
|
{/ifset}
|
||||||
|
{if $post->isPinned()}
|
||||||
|
<span class="nobold">{_pinned}</span>
|
||||||
|
{/if}
|
||||||
{if $post->canBeDeletedBy($thisUser) && !($forceNoDeleteLink ?? false) && !isset($compact)}
|
{if $post->canBeDeletedBy($thisUser) && !($forceNoDeleteLink ?? false) && !isset($compact)}
|
||||||
<a class="delete" href="/wall{$post->getPrettyId()}/delete"></a>
|
<a class="delete" href="/wall{$post->getPrettyId()}/delete"></a>
|
||||||
{/if}
|
{/if}
|
||||||
|
|
|
@ -40,11 +40,9 @@
|
||||||
{/if}
|
{/if}
|
||||||
<br/>
|
<br/>
|
||||||
<a href="/wall{$post->getPrettyId()}" class="date">
|
<a href="/wall{$post->getPrettyId()}" class="date">
|
||||||
{if $post->isPinned()}
|
|
||||||
{$post->getPublicationTime()},
|
|
||||||
{_pinned}
|
|
||||||
{else}
|
|
||||||
{$post->getPublicationTime()}
|
{$post->getPublicationTime()}
|
||||||
|
{if $post->isPinned()}
|
||||||
|
, {_pinned}
|
||||||
{/if}
|
{/if}
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue