[-] MO : #PSCFV-2924 - Cannot comment a product if there already comments validated
This commit is contained in:
1 parent
ed299a7878
commit
59fc70aa6b
1 file changed
+12
-10
@@ -74,6 +74,17 @@ var productcomments_url_rewrite = '{$productcomments_url_rewriting_activated}';
|
|||||||
{/foreach}
|
{/foreach}
|
||||||
{else}
|
{else}
|
||||||
{if ($too_early == false AND ($logged OR $allow_guests))}
|
{if ($too_early == false AND ($logged OR $allow_guests))}
|
||||||
|
<p class="align_center">
|
||||||
|
<a id="new_comment_tab_btn" class="open-comment-form" href="#new_comment_form">{l s='Be the first to write your review' mod='productcomments'} !</a>
|
||||||
|
</p>
|
||||||
|
{else}
|
||||||
|
<p class="align_center">{l s='No customer comments for the moment.' mod='productcomments'}</p>
|
||||||
|
{/if}
|
||||||
|
{/if}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Fancybox -->
|
||||||
<div style="display: none;">
|
<div style="display: none;">
|
||||||
<div id="new_comment_form">
|
<div id="new_comment_form">
|
||||||
<form action="#">
|
<form action="#">
|
||||||
@@ -135,13 +146,4 @@ var productcomments_url_rewrite = '{$productcomments_url_rewriting_activated}';
|
|||||||
</form><!-- /end new_comment_form_content -->
|
</form><!-- /end new_comment_form_content -->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<!-- End fancybox -->
|
||||||
<p class="align_center">
|
|
||||||
<a id="new_comment_tab_btn" class="open-comment-form" href="#new_comment_form">{l s='Be the first to write your review' mod='productcomments'} !</a>
|
|
||||||
</p>
|
|
||||||
{else}
|
|
||||||
<p class="align_center">{l s='No customer comments for the moment.' mod='productcomments'}</p>
|
|
||||||
{/if}
|
|
||||||
{/if}
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
Reference in new issue
Block a user