<#assign cumber_char_comments=200/>
<#if from_url?? && from_url?has_content && from_url != "null"> <@comboWithParams name="filterPinned" default_value="${filterPinned!''}" additionalParameters="class=\"form-control input-xs\"" items=listPinnedFilter /> <@comboWithParams name="filterMarkAsImportant" default_value="${filterMarkAsImportant!''}" additionalParameters="class=\"form-control input-xs\"" items=listMarkAsImportantFilter /> <@comboWithParams name="filterState" default_value="${filterState!''}" additionalParameters="class=\"form-control input-xs\"" items=listCommentStates />
<#if !allResources> &from_url=${from_url}" title="#i18n{module.extend.comment.comment.labelAddComment}"> #i18n{module.extend.comment.comment.labelAddComment}
<#if !allResources && resourceExtender??>

${resourceExtender.extendableResourceName}

<#if listComments?? && listComments?has_content>
<#list listComments as comment>
#i18n{module.extend.comment.comment_info.statePublished} #i18n{module.extend.comment.comment_info.labelComment}
<#if use_bbcode> ${comment.BBCodeComment!} <#else> ${comment.comment!} <#if comment.listSubComments?? && 0 < comment.listSubComments?size> <#list comment.listSubComments as subComment>

<#if subComment.published> <#else> <#if use_bbcode> <#if subComment.BBCodeComment?length <= cumber_char_comments> ${(subComment.BBCodeComment)!""} <#else> ${(subComment.BBCodeComment[0..cumber_char_comments-1])!""}... <#else> <#if subComment.comment?length <= cumber_char_comments> ${(subComment.comment)!""} <#else> ${(subComment.comment[0..cumber_char_comments-1])!""}...

<#if from_url?? && from_url?has_content && from_url != "null">
<#if use_bbcode> ${subComment.BBCodeComment!} <#else> ${subComment.comment!} <#if subComment.isAdminComment>

${adminBadge!}

#i18n{module.extend.comment.comment_info.labelAuthor} #i18n{module.extend.comment.comment_info.labelName} : ${subComment.name!} - #i18n{module.extend.comment.comment_info.labelSendTime} : ${subComment.dateComment!}

#i18n{module.extend.comment.comment_info.labelEmail} : ${subComment.email!} - #i18n{module.extend.comment.comment_info.labelIpAddress} : ${subComment.ipAddress!}

<#if from_url?? && from_url?has_content && from_url != "null">
@Extender[${comment.idComment},Comment,rating,{show:"vote"}]@ <#if allResources && resourceExtenderMap?? && resourceExtenderMap[comment.idExtendableResource]??> <#assign resourceExtender=resourceExtenderMap[comment.idExtendableResource]/>

${resourceExtender.extendableResourceName}

&from_url=${from_url}" title="#i18n{module.extend.comment.comment.labelAddComment}"> #i18n{module.extend.comment.comment.labelAddComment}

#i18n{module.extend.comment.comment_info.labelSendTime} : ${comment.dateComment!} par ${comment.name!}

#i18n{module.extend.comment.comment_info.labelEmail} : ${comment.email!} - #i18n{module.extend.comment.comment_info.labelIpAddress} : ${comment.ipAddress!} <#if comment.isAdminComment> ${adminBadge!}

<@paginationAdmin paginator=paginator combo=1 /> <#else>

#i18n{module.extend.comment.comment_info.labelNoComment}