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> <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">

View file

@ -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">

View file

@ -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">