mirror of
https://github.com/openvk/openvk
synced 2024-12-22 16:42:32 +03:00
parent
ad878474ce
commit
2feaee4be4
3 changed files with 22 additions and 0 deletions
|
@ -7,6 +7,13 @@
|
|||
<img
|
||||
src="{$author->getAvatarURL()}"
|
||||
width="{ifset $compact}25{else}50{/ifset}" />
|
||||
{if !$post->isPostedOnBehalfOfGroup() && !$compact}
|
||||
<span n:if="$author->getOnline()->timestamp() + 2505600 > time()" class="post-online">
|
||||
{if $diff->i <= 5}
|
||||
{_online}
|
||||
{/if}
|
||||
</span>
|
||||
{/if}
|
||||
</td>
|
||||
<td width="100%" valign="top">
|
||||
<div class="post-author">
|
||||
|
|
|
@ -7,6 +7,13 @@
|
|||
<img
|
||||
src="{$author->getAvatarURL()}"
|
||||
width="50" />
|
||||
{if !$post->isPostedOnBehalfOfGroup() && !$compact}
|
||||
<span n:if="$author->getOnline()->timestamp() + 2505600 > time()" class="post-online">
|
||||
{if $diff->i <= 5}
|
||||
{_online}
|
||||
{/if}
|
||||
</span>
|
||||
{/if}
|
||||
</td>
|
||||
<td width="100%" valign="top">
|
||||
<div class="post-author">
|
||||
|
|
|
@ -481,6 +481,14 @@ h4 {
|
|||
display: block;
|
||||
}
|
||||
|
||||
.post-online {
|
||||
color: #AAA;
|
||||
text-align: center;
|
||||
width: 50px;
|
||||
padding-top: 5px;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.post-author {
|
||||
background-color: #F6F6F6;
|
||||
border-top: #8B8B8B solid 1px;
|
||||
|
|
Loading…
Reference in a new issue