Sha256: d697a56d4e472e248f7a4c2e5363807dca74b41452311daae2f3b0827260086b

Contents?: true

Size: 1.21 KB

Versions: 11

Compression:

Stored size: 1.21 KB

Contents

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

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


<h1><%= t(:zones) %></h1>
<table class="index" id='listing_zones' data-hook>
  <thead>
    <tr data-hook="zones_header">
      <th><%= sort_link @search,:name, t(:name), :title => 'zones_order_by_name_title' %></th>
      <th>
        <%= sort_link @search,:description, t(:description), {}, {:title => 'zones_order_by_description_title'} %>
      </th>
      <th><%= t(:default_tax) %></th>
      <th></th>
    </tr>
  </thead>
  <tbody>
    <% @zones.each do |zone| %>
      <tr id="<%= dom_id zone %>" data-hook="zones_row">
        <td><%=zone.name %></td>
        <td><%=zone.description %></td>
        <td><%=zone.default_tax %></td>
        <td class="actions">
          <%=link_to_edit zone %> &nbsp;
          <%=link_to_delete zone %>
        </td>
      </tr>
    <% end %>
    <% if @zones.empty? %>
      <tr data-hook="zones_none"><td colspan="2"><%= t(:none) %></td></tr>
    <% end %>
  </tbody>
</table>
<%= paginate @zones %>

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
spree_core-1.0.7 app/views/spree/admin/zones/index.html.erb
spree_core-1.0.6 app/views/spree/admin/zones/index.html.erb
spree_core-1.0.4 app/views/spree/admin/zones/index.html.erb
spree_core-1.0.3 app/views/spree/admin/zones/index.html.erb
spree_core-1.0.2 app/views/spree/admin/zones/index.html.erb
spree_core-1.0.1 app/views/spree/admin/zones/index.html.erb
spree_core-1.0.0 app/views/spree/admin/zones/index.html.erb
spree_core-1.0.0.rc4 app/views/spree/admin/zones/index.html.erb
spree_core-1.0.0.rc3 app/views/spree/admin/zones/index.html.erb
spree_core-1.0.0.rc2 app/views/spree/admin/zones/index.html.erb
spree_core-1.0.0.rc1 app/views/spree/admin/zones/index.html.erb