Sha256: f5f7fddcb682e78552b11c1ee382bc9ac6ee79743cb540e56a67a767c7ef0513

Contents?: true

Size: 1.01 KB

Versions: 21

Compression:

Stored size: 1.01 KB

Contents

<%= render partial: 'spree/admin/shared/order_tabs', locals: { current: :payments } %>

<% content_for :page_title do %>
  /
  <%= I18n.t(:one, scope: "activerecord.models.spree/payment") %>
  /
  <%= Spree.t(:log_entries) %>
<% end %>

<% content_for :page_actions do %>
  <%= button_link_to Spree.t(:logs), spree.admin_order_payment_log_entries_url(@order, @payment), icon: 'file.svg' %>
<% end %>
<div class="table-responsive">
<table class="table" 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? ? 'save' : 'cancel' %>"></i>
              <%= pretty_time(entry.created_at) %>
            </h4>
          </td>
        </tr>
      </thead>
      <tbody>
        <tr>
          <td>Message</td>
          <td><%= entry.parsed_details.message %></td>
        </tr>
      </tbody>
  <% end %>
</table>
</div>

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
spree_backend-4.2.0.rc5 app/views/spree/admin/log_entries/index.html.erb