Sha256: c0e0cfc4bfe6fc167e3f30a8e3076abeea5e3b071098d667573e5505954ba7ed
Contents?: true
Size: 1.11 KB
Versions: 3
Compression:
Stored size: 1.11 KB
Contents
<% content_for :page_title do %> <%= Spree.t('feedback_review_for', :review => @review.title) %> <% end %> <% content_for :page_actions do %> <li><%= button_link_to Spree.t(:back_to_reviews), admin_reviews_path, { :icon => 'icon-arrow-left' } %></li> <% end %> <% render 'spree/admin/shared/product_sub_menu' %> <% if @collection.any? %> <table class="index"> <colgroup> <col style="width: 30%;"> <col style="width: 20%;"> <col style="width: 20%;"> <col style="width: 17%;"> </colgroup> <thead> <tr> <th><%= Spree.t('user') %></th> <th><%= Spree.t('stars') %></th> <th><%= Spree.t('date') %></th> <th></th> </tr> </thead> <tbody> <%- @collection.each do |feedback| -%> <tr id="<%= dom_id(feedback) %>"> <td><%= l feedback.created_at %></td> <td><%= feedback.user.try(:login) || Spree.t(:anonymous) %></td> <td><%= feedback.rating %></td> <td class="actions"> <%= link_to_delete feedback, :no_text => true %> </td> </tr> <% end %> </tbody> </table> <% else %> <div class="no-objects-found"> <%= Spree.t(:no_results) %> </div> <% end %>
Version data entries
3 entries across 3 versions & 2 rubygems