{$textReviewsCount = $product_reviews.reviews|count}
<div class="product-reviews">
    {block "reviews-header"}
        {include "reviews/product.reviews.header.tpl"}
    {/block}

   <div class="product-resp-tabs-content" data-product-tabs-content="product-reviews">
       {if !$textReviewsCount}
           {include "reviews/product.reviews.empty.tpl"}
       {else}
           {include "reviews/product.reviews.list.tpl"}
           {include "reviews/product.reviews.buttons.tpl"}
       {/if}

       {if !$product_reviews.user_already_rated}
          <div class="text-center">
             <button type="button" data-wpj-focus="{path('kupshop_catalog_reviews_productreview', ['id'=>$body.product.id])}" data-wpj-focus-ajax="1"
                     class="btn btn-resp btn-primary">{t}Moje vlastní zkušenost{/t}</button>
          </div>
       {/if}
   </div>
</div>

