Sha256: f06d0c805e23f49f182af090317b552e03f0e8aae67bac6757f21468078a19f8
Contents?: true
Size: 845 Bytes
Versions: 2
Compression:
Stored size: 845 Bytes
Contents
<div id="reviews"> <h6 class="product-section-title"><%= Spree.t(:reviews) %></h6> <% if Spree::Reviews::Config[:include_unapproved_reviews] == false and @product.reviews.approved.count == 0 %> <p class="reviews-none"><%= Spree.t('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 Spree.t('write_your_own_review'), new_product_review_path(@product), :class => "button", :rel => "nofollow,noindex" %> <% end %> </div>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
jiffyshirts_spree_reviews-2.3.1.2 | app/views/spree/shared/_reviews.html.erb |
jiffyshirts_spree_reviews-2.3.1.1 | app/views/spree/shared/_reviews.html.erb |