Sha256: 72aeb4d8743c0657a85f935a3fd0d7ac7c265c053ebc9edc58cc5d171b6e5200

Contents?: true

Size: 1.38 KB

Versions: 8

Compression:

Stored size: 1.38 KB

Contents

<%= render :partial => 'admin/shared/configuration_menu' %>

<div class="toolbar" data-hook="toolbar">
  <ul class="actions">
    <li>
      <%= button_link_to t(:new_payment_method), new_object_url, :icon => 'add', :id => 'admin_new_payment_methods_link'  %>
    </li>
  </ul>
  <br class="clear" />
</div>

<h1><%= t(:payment_methods) %></h1>

<table class="index" id='listing_payment_methods'>
  <tr data-hook="admin_payment_methods_index_headers">
    <th><%= t(:name) %></th>
    <th><%= t(:provider) %></th>
    <th><%= t(:environment) %></th>
    <th><%= t(:display) %></th>
    <th><%= t(:active) %></th>
    <th data-hook="admin_payment_methods_index_header_actions"></th>
  </tr>
  <tbody>
    <% @payment_methods.each do |method|%>
      <tr id="<%= dom_id method %>" data-hook="admin_payment_methods_index_rows">
        <td width="120px"><%= method.name %></td>
        <td width="140px"><%= method.type %></td>
        <td width="100px"><%= method.environment.to_s.titleize %></td>
        <td width="60px"><%= method.display_on.blank? ? t(:both) : t(method.display_on) %></td>
        <td width="60px"><%= method.active ? t(:yes) : t(:no) %></td>
        <td width="140px" data-hook="admin_payment_methods_index_row_actions">
          <%= link_to_edit method, :class => 'edit' %>
          &nbsp;
          <%= link_to_delete method %>
        </td>
      </tr>
    <% end %>
  </tbody>
</table>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
spree_core-0.70.7 app/views/admin/payment_methods/index.html.erb
spree_core-0.70.6 app/views/admin/payment_methods/index.html.erb
spree_core-0.70.5 app/views/admin/payment_methods/index.html.erb
spree_core-0.70.4 app/views/admin/payment_methods/index.html.erb
spree_core-0.70.3 app/views/admin/payment_methods/index.html.erb
spree_core-0.70.2 app/views/admin/payment_methods/index.html.erb
spree_core-0.70.1 app/views/admin/payment_methods/index.html.erb
spree_core-0.70.0 app/views/admin/payment_methods/index.html.erb