[-] MO : #PSCFV-2924 - Cannot comment a product if there already comments validated
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@16192 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
1 parent
5eb6a331cd
commit
98d07a75a0
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