Sha256: 82f1d69741bab92869f242da7fd1f396776121c6cea8b308bde506f594ca2c25
Contents?: true
Size: 1.17 KB
Versions: 8
Compression:
Stored size: 1.17 KB
Contents
<%= render :partial => 'spree/admin/shared/order_tabs', locals: { current: 'Payments' }%> <% content_for :page_title do %> <i class="icon-arrow-right"></i> <%= I18n.t(:one, scope: "activerecord.models.spree/payment") %> <i class="icon-arrow-right"></i> <%= Spree.t(:log_entries) %> <% end %> <% content_for :page_actions do %> <li><%= button_link_to Spree.t(:logs), spree.admin_order_payment_log_entries_url(@order, @payment), :icon => 'icon-archive' %></li> <li><%= button_link_to Spree.t(:back_to_payment), spree.admin_order_payment_url(@order, @payment), :icon => 'icon-arrow-left' %></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='icon icon-<%= entry.parsed_details.success? ? 'ok-circle' : 'remove-sign' %>'></i> <%= pretty_time(entry.created_at) %></h4> </td> </tr> </thead> <tbody> <%= render "spree/admin/log_entries/#{@payment.payment_method.name.gsub(' ', '').underscore}", entry: entry %> </tbody> <% end %> </table>
Version data entries
8 entries across 8 versions & 1 rubygems