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