Avatars in Report comments

Nudaii

Well-known member
Is it possible to add in avatars to report comments?

Or to make it look more like a "post" layout in general?
 
Admin CP -> Appearance -> Templates -> report_view

Add the red code:

Rich (BB code):
	<xen:foreach loop="$comments" value="$comment">
		<li class="primaryContent reportComment {xen:if '{$comment.is_moderator} || {$comment.is_admin}', reportCommentModerator}">
			<span style="float: left; margin-right: 10px;"><xen:avatar user="$comment" size="s" /></span>
			<xen:username user="$comment" /> <span class="muted"><xen:datetime time="$comment.comment_date" /></span>
			<xen:if is="{$comment.state_change}"><p class="statusChange">{xen:phrase status_changed}: {$comment.stateChange}</p></xen:if>
			<xen:if is="{$comment.message}"><blockquote>{xen:helper bodyText, $comment.message}</blockquote></xen:if>
		</li>
	</xen:foreach>

The result:

Screen shot 2012-02-24 at 3.30.18 PM.webp
 
Top Bottom