diff --git a/modules/productcomments/views/templates/hook/product-comments-list.tpl b/modules/productcomments/views/templates/hook/product-comments-list.tpl index d31dcc8a7..39b6465a0 100644 --- a/modules/productcomments/views/templates/hook/product-comments-list.tpl +++ b/modules/productcomments/views/templates/hook/product-comments-list.tpl @@ -9,18 +9,84 @@ var productCommentAbuseReportErrorMessage = '{l|escape:'javascript' s='Sorry, your abuse report cannot be sent.' d='Modules.Productcomments.Shop'}'; + {assign var='hasSummary' value=($nb_comments > 0 && isset($summary))} + + {capture name='post_review_button'} + {if $nb_comments > 0 && $post_allowed} +