{template="embedHeader" group="embed" app="core" params="$comment, $item->mapped('title'), $comment->mapped('date'), $url"}
{{if $item->asNode()->coverPhoto('small')}} {{endif}} {{$images = \IPS\Gallery\Image::getItemsWithPermission( array( array( 'image_album_id=?', $item->asNode()->id ) ), ( $item->asNode()->sort_options == 'title' ) ? 'image_caption ASC' : \IPS\gallery\Image::$databasePrefix . \IPS\gallery\Image::$databaseColumnMap[ $item->asNode()->sort_options ] . ' DESC', 19 );}} {{if \count( $images )}} {{endif}} {template="rating" app="core" params="'veryLarge', $comment->mapped('rating')" group="global"} {{if $comment->mapped('votes_total')}}

{$comment->helpfulLine()|raw}

{{endif}}
{$comment->truncated(TRUE)|raw}
{{if settings.reputation_enabled and \IPS\IPS::classUsesTrait( $comment, 'IPS\Content\Reactable' ) and \count( $comment->reactions() )}}
  • {template="reactionOverview" app="core" group="global" params="$comment, TRUE, 'small'"}
{{endif}}