Sha256: a7d973e8ad79808a591548165b39353fc5188be275b2d2fb664bf6530c0f43e7

Contents?: true

Size: 1.56 KB

Versions: 19

Compression:

Stored size: 1.56 KB

Contents

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

<div class='toolbar'>
  <ul class='actions'>
    <li>
      <%= button_link_to t("new_shipping_method"), new_object_url,  :icon => 'add',
                                                                    :id => 'admin_new_shipping_method_link' %>
    </li>
  </ul>
  <br class='clear' />
</div>

<h1><%= t("shipping_methods") %></h1>

<table class="index" id='listing_shipping_methods'>
  <thead>
    <tr>
    <%= hook :admin_shipping_methods_index_headers do %>
      <th><%= t("name") %></th>
      <th><%= t("zone") %></th>
      <th><%= t("calculator") %></th>
      <th><%= t("display") %></th>
    <% end %>
      <th>
        <%= hook :admin_shipping_methods_index_header_actions %>
      </th>
    </tr>
  </thead>
  <tbody>
    <% @shipping_methods.each do |shipping_method|%>
      <tr id="<%= dom_id shipping_method %>">
        <%- locals = {:shipping_method => shipping_method} %>
        <%= hook :admin_shipping_methods_index_rows, locals do %>
          <td><%= shipping_method.name %></td>
          <td><%= shipping_method.zone.name %></td>
          <td><%= shipping_method.calculator.description %></td>
          <td><%= shipping_method.display_on.blank? ? t('both') : t(shipping_method.display_on) %></td>
        <% end %>
        <td width="140px">
          <%= hook :admin_shipping_methods_index_row_actions, locals do %>
            <%= link_to_edit shipping_method %> &nbsp;
            <%= link_to_delete shipping_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/shipping_methods/index.html.erb
My-Commerce_core-1.1.0 app/views/admin/shipping_methods/index.html.erb
My-Commerce_core-1.0.0 app/views/admin/shipping_methods/index.html.erb
MyCommerceapi-1.0.0 core/app/views/admin/shipping_methods/index.html.erb
MyCommerce-0.0.3 core/app/views/admin/shipping_methods/index.html.erb
rfcommerce_core-0.0.3 app/views/admin/shipping_methods/index.html.erb
spree_core-0.60.6 app/views/admin/shipping_methods/index.html.erb
spree_core-0.60.5 app/views/admin/shipping_methods/index.html.erb
spree_core-0.50.4 app/views/admin/shipping_methods/index.html.erb
spree_core-0.60.4 app/views/admin/shipping_methods/index.html.erb
spree_core-0.50.3 app/views/admin/shipping_methods/index.html.erb
spree_core-0.60.3 app/views/admin/shipping_methods/index.html.erb
spree_core-0.60.2 app/views/admin/shipping_methods/index.html.erb
spree_core-0.60.1 app/views/admin/shipping_methods/index.html.erb
spree_core-0.60.0 app/views/admin/shipping_methods/index.html.erb
spree_core-0.60.0.RC1 app/views/admin/shipping_methods/index.html.erb
spree_core-0.50.2 app/views/admin/shipping_methods/index.html.erb
spree_core-0.50.1 app/views/admin/shipping_methods/index.html.erb
spree_core-0.50.0 app/views/admin/shipping_methods/index.html.erb