<div class="reviews-list-wrapper">
   <div class="reviews-list">
      {foreach $product_reviews.reviews as $review}
         {if $review@index == 3 and $textReviewsCount >= 4}
            <div data-more-reviews style="display: none;">
         {/if}
         <div class="review-item">
            <div class="review-text">
               {if $review.summary}<p class="summary">{$review.summary}</p>{/if}
                <div class="review-positive">
                    {if $review.pros}<p class="pros">{t}Líbí se{/t}</p>{$review.pros}{/if}
                </div>
               <div class="review-negative">
                   {if $review.cons}<p class="cons">{t}Nelíbí se{/t}</p>{$review.cons}{/if}
               </div>

               {ifmodule PRODUCTS_COLLECTIONS}
               {if $review.id_product != $body.product.id}
                  <p class="review-collection-product">{t}Původně vloženo k{/t} <a
                             href="{url s=product IDproduct=$review.id_product TITLE=$review.product_title}"
                             title="{t}Zobrazit produkt{/t}">{$review.product_title}</a></p>
               {/if}
               {/ifmodule}
            </div>
            <div class="review-data">
               <div class="review-stars-wrapper">
                   {if $review.rating}
                      <div class="review-stars review-stars-{$review.rating|round} {$colorClass}">
                          {for $i=1 to 5}
                             <i class="fc {if $i > $review.rating|round}icons_star_empty{else}icons_star_full{/if}"></i>
                          {/for}
                      </div>
                   {/if}
                  <strong>{$review.user_name|default:$review.name|default:"{t}Anonymní{/t}"}</strong>
                   {if $review.date}<div class="date">{$review.date|date_format:"%e.%-m.%Y"}</div>{/if}
               </div>
               <p class="review-verified">
                   {if $review.verified}
                      <i class="fc icons_check-circle"></i>
                       {t}Recenze nakupujícího{/t}
                   {else}
                       {t}Recenze návštěvníka{/t}
                   {/if}
                   {$review.source}
               </p>
            </div>
         </div>
         {if $review@last and $textReviewsCount >= 4}
            </div>
         {/if}
         {if $review@iteration == 2 and $reviewsMiddle}
            {break}
         {/if}
      {/foreach}
   </div>
</div>

