<#assign listComments = paginator.pageItems>
<#assign commentSortUrl = postBackUrl> <#if postBackUrl?contains('?')> <#assign commentSortUrl = commentSortUrl + "&"> <#else> <#assign commentSortUrl = commentSortUrl + "?">

#i18n{module.extend.comment.view_comments.sortedByDate} <@sort jsp_url= commentSortUrl + "idExtendableResource=${idExtendableResource!}&extendableResourceType=${extendableResourceType!}&from_url=from_session" attribute="date" />

<@paginationSiteItemCount paginator=paginator combo=1 nb_items_per_page=paginator.itemsPerPage?string/>
<#if from_url?? && from_url?has_content && from_url != "null">
<@paginationSitePageLinks paginator=paginator/>
<#if listComments?? && listComments?has_content> <#list listComments as comment>
#i18n{module.extend.comment.view_comments.labelPosted} ${comment.dateComment!} #i18n{module.extend.comment.view_comments.labelBy} ${comment.name!} <#if allowSubComments> <#if comment.isAdminComment>${adminBadge!} <#if comment.dateLastModif != comment.dateComment>

#i18n{module.extend.comment.view_comments.labelLastModified} ${comment.dateLastModif!}

@Extender[${comment.idComment},Comment,rating,{show:"all"}]@
${comment.name!} <#if use_bbcode> ${comment.BBCodeComment!} <#else> ${comment.comment!}
<#if comment.listSubComments?? && 0 < comment.listSubComments?size> #i18n{module.extend.comment.comment_info.displaySubComments}
class="commentComments"> <#list comment.listSubComments as subComment>
#i18n{module.extend.comment.view_comments.labelPosted} ${subComment.dateComment!} #i18n{module.extend.comment.view_comments.labelBy} ${subComment.name!}

<#if comment.dateLastModif != subComment.dateComment>

#i18n{module.extend.comment.view_comments.labelLastModified} ${subComment.dateLastModif!}

<#if subComment.isAdminComment>
${adminBadge!}

<#if use_bbcode> ${subComment.BBCodeComment!} <#else> ${subComment.comment!}

<@paginationSitePageLinks paginator=paginator/>
<@paginationItemCount paginator=paginator combo=0 nb_items_per_page=paginator.itemsPerPage?string/>
<#if from_url?? && from_url?has_content && from_url != "null">
<#else>

#i18n{module.extend.comment.view_comments.noComments}



&from_url=from_session">   #i18n{module.extend.comment.view_comments.labelAddComment} <#if from_url?? && from_url?has_content && from_url != "null"> #i18n{portal.util.labelBack} <#if from_url?? && from_url?has_content && from_url != "null">