Sha256: f1b7d8a2303848407036bb0eaf2deb4e3ecc94dff2a0618360d9b13d0bfec512
Contents?: true
Size: 838 Bytes
Versions: 9
Compression:
Stored size: 838 Bytes
Contents
<div id="reviews"> <h6 class="product-section-title"><%= I18n.t("spree.reviews") %></h6> <% if Spree::Reviews::Config[:include_unapproved_reviews] == false and @product.reviews.approved.count == 0 %> <p class="reviews-none"><%= I18n.t("spree.no_reviews_available") %></p> <% else %> <%= render 'spree/shared/rating', product: @product, review: 0 %> <% for review in (Spree::Reviews::Config[:track_locale] ? @product.reviews.localized(I18n.locale) : @product.reviews).default_approval_filter.preview %> <%= render 'spree/shared/review', review: review %> <% end %> <% end %> <% if !Spree::Reviews::Config[:require_login] || spree_current_user %> <%= link_to I18n.t("spree.write_your_own_review"), new_product_review_path(@product), class: "button", rel: 'nofollow' %> <% end %> </div>
Version data entries
9 entries across 9 versions & 1 rubygems