Sha256: f822db40e77ff51637bc54cec6be58b6175d33165ce5b06ba67f28fe46d2a706
Contents?: true
Size: 1.89 KB
Versions: 3
Compression:
Stored size: 1.89 KB
Contents
<%= render :partial => 'spree/admin/shared/configuration_menu' %> <% content_for :page_title do %> <%= t(:payment_methods) %> <% end %> <% content_for :page_actions do %> <li> <%= button_link_to t(:new_payment_method), new_object_url, :icon => 'icon-plus', :id => 'admin_new_payment_methods_link' %> </li> <% end %> <% if @payment_methods.any? %> <table class="index" id='listing_payment_methods'> <colgroup> <col style="width: 15%"> <col style="width: 35%"> <col style="width: 15%"> <col style="width: 10%"> <col style="width: 10%"> <col style="width: 15%"> </colgroup> <thead> <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" class="actions"></th> </tr> </thead> <tbody> <% @payment_methods.each do |method|%> <tr id="<%= spree_dom_id method %>" data-hook="admin_payment_methods_index_rows" class="<%= cycle('odd', 'even')%>"> <td class="align-center"><%= method.name %></td> <td><%= method.type %></td> <td class="align-center"><%= method.environment.to_s.titleize %></td> <td class="align-center"><%= method.display_on.blank? ? t(:both) : t(method.display_on) %></td> <td class="align-center"><%= method.active ? t(:say_yes) : t(:say_no) %></td> <td data-hook="admin_payment_methods_index_row_actions" class="actions"> <%= link_to_edit method, :no_text => true %> <%= link_to_delete method, :no_text => true %> </td> </tr> <% end %> </tbody> </table> <% else %> <div class="alpha twelve columns no-objects-found"><%= t(:no_payment_methods_found) %></div> <% end %>
Version data entries
3 entries across 3 versions & 1 rubygems