Post, Comment: Add a link to profile when clicking on PFP

This commit is contained in:
veselcraft 2022-02-05 20:24:46 +03:00
parent 77cc83ca13
commit 9d4478516f
No known key found for this signature in database
GPG key ID: AED66BC1AC628A4E
3 changed files with 23 additions and 16 deletions

View file

@ -7,10 +7,12 @@
<tbody>
<tr>
<td width="30" valign="top">
<a href="{$author->getURL()}">
<img
src="{$author->getAvatarURL()}"
width="30"
class="cCompactAvatars" />
</a>
</td>
<td width="100%" valign="top">
<div class="post-author">

View file

@ -8,6 +8,7 @@
<tbody>
<tr>
<td width="54" valign="top">
<a href="{$author->getURL()}">
<img
src="{$author->getAvatarURL()}"
width="{ifset $compact}25{else}50{/ifset}"
@ -17,6 +18,7 @@
{_online}
</span>
{/if}
</a>
</td>
<td width="100%" valign="top">
<div class="post-author">

View file

@ -4,14 +4,17 @@
<tbody>
<tr>
<td width="54" valign="top">
<a href="{$author->getURL()}">
<img
src="{$author->getAvatarURL()}"
width="50" />
</a>
{if !$post->isPostedOnBehalfOfGroup() && !($compact ?? false)}
<span n:if="$author->isOnline()" class="post-online">
{_online}
</span>
{/if}
</td>
<td width="100%" valign="top">
<div class="post-author">