Skip to content
Snippets Groups Projects
Commit 8a7997bb authored by Uma's avatar Uma
Browse files

Merge branch 'Profile_Image_Comments' into 'master'

Fixes profile image disaply in comments list in different views

See merge request !652
parents 7125ea37 0883797b
No related branches found
No related tags found
No related merge requests found
......@@ -82,7 +82,7 @@
<div class="col-lg-2 recordImage commentInfoHeader" data-commentid="{$COMMENT->getId()}" data-parentcommentid="{$COMMENT->get('parent_comments')}" data-relatedto = "{$COMMENT->get('related_to')}">
{assign var=IMAGE_PATH value=$COMMENT->getImagePath()}
{if !empty($IMAGE_PATH)}
<img src="{$IMAGE_PATH}" width="40px" height="40px" align="left">
<img src="{$IMAGE_PATH}" width="100%" height="100%" align="left">
{else}
<div class="name"><span><strong> {$CREATOR_NAME|mb_substr:0:2|escape:"html"} </strong></span></div>
{/if}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment