app/views/spree/admin/log_entries/index.html.erb in solidus_backend-2.8.6 vs app/views/spree/admin/log_entries/index.html.erb in solidus_backend-2.9.0.rc.1

- old
+ new

@@ -6,24 +6,6 @@ <% content_for :page_actions do %> <li><%= link_to t('spree.logs'), spree.admin_order_payment_log_entries_url(@order, @payment), class: 'btn btn-primary' %></li> <li><%= link_to t('spree.back_to_payment'), spree.admin_order_payment_url(@order, @payment), class: 'btn btn-primary' %></li> <% end %> -<table class='index' id='listing_log_entries'> - <% @log_entries.each do |entry| %> - <thead> - <tr class="log_entry <%= entry.parsed_details.success? ? 'success' : 'fail' %>"> - <td colspan='2'> - <h4><i class='fa fa-<%= entry.parsed_details.success? ? 'check' : 'remove' %>'></i> <%= pretty_time(entry.created_at) %></h4> - </td> - </tr> - </thead> - <tbody> - <tr> - <td><%= Spree::LogEntry.human_attribute_name(:details) %></td> - <td> - <pre><%= entry.parsed_details.message %></pre> - </td> - </tr> - </tbody> - <% end %> -</table> +<%= render 'spree/admin/payments/log_entries', log_entries: @log_entries %>