Sha256: a2df67f7dc32ad1855f99c3f4413cb1ed58d6dee13db0fd7287c7b079ee3fab2

Contents?: true

Size: 1.61 KB

Versions: 19

Compression:

Stored size: 1.61 KB

Contents

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

<div class='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>
    <%= hook :admin_payment_methods_index_headers do %>
      <th><%= t("name") %></th>
      <th><%= t("provider") %></th>
      <th><%= t("environment") %></th>
      <th><%= t("display") %></th>
      <th><%= t("active") %></th>
    <% end %>
    <th>
      <%= hook :admin_payment_methods_index_header_actions %>
    </th>
  </tr>
  <tbody>
    <% @payment_methods.each do |method|%>
      <tr id="<%= dom_id method %>">
        <%- locals = {:method => method} %>
        <%= hook :admin_payment_methods_index_rows, locals do %>
          <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>
        <% end %>
        <td width="140px">
          <%= hook :admin_payment_methods_index_row_actions, locals do %>
            <%= link_to_edit method, :class => 'edit' %>
            &nbsp;
            <%= link_to_delete method %>
          <% end %>
        </td>
      </tr>
    <% end %>
  </tbody>
</table>

Version data entries

19 entries across 19 versions & 6 rubygems

Version Path
apispree_core-0.0.0 app/views/admin/payment_methods/index.html.erb
My-Commerce_core-1.1.0 app/views/admin/payment_methods/index.html.erb
My-Commerce_core-1.0.0 app/views/admin/payment_methods/index.html.erb
MyCommerceapi-1.0.0 core/app/views/admin/payment_methods/index.html.erb
MyCommerce-0.0.3 core/app/views/admin/payment_methods/index.html.erb
rfcommerce_core-0.0.3 app/views/admin/payment_methods/index.html.erb
spree_core-0.60.6 app/views/admin/payment_methods/index.html.erb
spree_core-0.60.5 app/views/admin/payment_methods/index.html.erb
spree_core-0.50.4 app/views/admin/payment_methods/index.html.erb
spree_core-0.60.4 app/views/admin/payment_methods/index.html.erb
spree_core-0.50.3 app/views/admin/payment_methods/index.html.erb
spree_core-0.60.3 app/views/admin/payment_methods/index.html.erb
spree_core-0.60.2 app/views/admin/payment_methods/index.html.erb
spree_core-0.60.1 app/views/admin/payment_methods/index.html.erb
spree_core-0.60.0 app/views/admin/payment_methods/index.html.erb
spree_core-0.60.0.RC1 app/views/admin/payment_methods/index.html.erb
spree_core-0.50.2 app/views/admin/payment_methods/index.html.erb
spree_core-0.50.1 app/views/admin/payment_methods/index.html.erb
spree_core-0.50.0 app/views/admin/payment_methods/index.html.erb