Sha256: d45c4d2ec2d8960811fec335f2780a37269ad7f587b7672e9858abd063c00d27

Contents?: true

Size: 1.12 KB

Versions: 3

Compression:

Stored size: 1.12 KB

Contents

<% if @bolt_configuration.present? %>
  <table class="index">
    <thead>
      <tr>
        <th><%= SolidusBolt::BoltConfiguration.human_attribute_name(:merchant_public_id) %></th>
        <th><%= SolidusBolt::BoltConfiguration.human_attribute_name(:environment) %></th>
        <th><%= SolidusBolt::BoltConfiguration.human_attribute_name(:created_at) %></th>
        <th><%= SolidusBolt::BoltConfiguration.human_attribute_name(:updated_at) %></th>
        <th class="actions"></th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><%= @bolt_configuration.merchant_public_id %></td>
        <td><%= @bolt_configuration.environment %></td>
        <td>
          <%= @bolt_configuration.created_at.to_s(:long) %>
        </td>
        <td>
          <%= @bolt_configuration.updated_at.to_s(:long) %>
        </td>
        <td class="actions">
          <% if can?(:edit, @bolt_configuration) %>
            <%= link_to edit_btn, edit_admin_bolt_path, class: 'btn btn-primary' %>
          <% end %>
        </td>
      </tr>
    </tbody>
  </table>
<% else %>
  <p> <%= t('spree.admin.bolt.configuration_not_found') %> </p>
<% end %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
solidus_bolt-0.2.0 app/views/spree/admin/bolts/_configuration.html.erb
solidus_bolt-0.1.0 app/views/spree/admin/bolts/_configuration.html.erb
solidus_bolt-0.0.1 app/views/spree/admin/bolts/_configuration.html.erb