Commit f8391903 authored by Son Nguyen's avatar Son Nguyen
Browse files

Fix the profile picture of comment's author (Bug 1262050)



in Profile/Shared with me page

Change-Id: I675a8c9062da37e668cd27621993fb7474b08973
Signed-off-by: default avatarSon Nguyen <son.nguyen@catalyst.net.nz>
parent 7281be95
......@@ -24,7 +24,7 @@
<a href="{$WWWROOT}view/view.php?id={$view.id}&showcomment={$view.commentid}" title="{str tag=viewcomment section=artefact.comment}">{$view.commenttext|str_shorten_html:40:true|strip_tags|safe}</a>
</div>
{if $view.commentauthor}
<span class="poster"><a href="{profile_url($view.commentauthor)}"><img src="{profile_icon_url user=$row.user maxwidth=20 maxheight=20}" alt="" class="profile-icon-container"> {$view.commentauthor|display_name}</a> - </span>
<span class="poster"><a href="{profile_url($view.commentauthor)}"><img src="{profile_icon_url user=$view.commentauthor maxwidth=20 maxheight=20}" alt="" class="profile-icon-container"> {$view.commentauthor|display_name}</a> - </span>
{else}
<span class="poster">{$view.commentauthorname} - </span>
{/if}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment