mirror of
https://github.com/openvk/openvk
synced 2024-11-11 01:19:53 +03:00
Post, Comment: Add a link to profile when clicking on PFP
This commit is contained in:
parent
77cc83ca13
commit
9d4478516f
3 changed files with 23 additions and 16 deletions
|
@ -7,10 +7,12 @@
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td width="30" valign="top">
|
<td width="30" valign="top">
|
||||||
|
<a href="{$author->getURL()}">
|
||||||
<img
|
<img
|
||||||
src="{$author->getAvatarURL()}"
|
src="{$author->getAvatarURL()}"
|
||||||
width="30"
|
width="30"
|
||||||
class="cCompactAvatars" />
|
class="cCompactAvatars" />
|
||||||
|
</a>
|
||||||
</td>
|
</td>
|
||||||
<td width="100%" valign="top">
|
<td width="100%" valign="top">
|
||||||
<div class="post-author">
|
<div class="post-author">
|
||||||
|
|
|
@ -8,6 +8,7 @@
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td width="54" valign="top">
|
<td width="54" valign="top">
|
||||||
|
<a href="{$author->getURL()}">
|
||||||
<img
|
<img
|
||||||
src="{$author->getAvatarURL()}"
|
src="{$author->getAvatarURL()}"
|
||||||
width="{ifset $compact}25{else}50{/ifset}"
|
width="{ifset $compact}25{else}50{/ifset}"
|
||||||
|
@ -17,6 +18,7 @@
|
||||||
{_online}
|
{_online}
|
||||||
</span>
|
</span>
|
||||||
{/if}
|
{/if}
|
||||||
|
</a>
|
||||||
</td>
|
</td>
|
||||||
<td width="100%" valign="top">
|
<td width="100%" valign="top">
|
||||||
<div class="post-author">
|
<div class="post-author">
|
||||||
|
|
|
@ -4,14 +4,17 @@
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td width="54" valign="top">
|
<td width="54" valign="top">
|
||||||
|
<a href="{$author->getURL()}">
|
||||||
<img
|
<img
|
||||||
src="{$author->getAvatarURL()}"
|
src="{$author->getAvatarURL()}"
|
||||||
width="50" />
|
width="50" />
|
||||||
|
</a>
|
||||||
{if !$post->isPostedOnBehalfOfGroup() && !($compact ?? false)}
|
{if !$post->isPostedOnBehalfOfGroup() && !($compact ?? false)}
|
||||||
<span n:if="$author->isOnline()" class="post-online">
|
<span n:if="$author->isOnline()" class="post-online">
|
||||||
{_online}
|
{_online}
|
||||||
</span>
|
</span>
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
</td>
|
</td>
|
||||||
<td width="100%" valign="top">
|
<td width="100%" valign="top">
|
||||||
<div class="post-author">
|
<div class="post-author">
|
||||||
|
|
Loading…
Reference in a new issue