Sha256: c35beb0fc501373d8b64bb4478b06fc8b28f3aed83c6069ccccab49d6b896c66

Contents?: true

Size: 1.13 KB

Versions: 5

Compression:

Stored size: 1.13 KB

Contents

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

<div class='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'>
  <thead>
    <tr>
      <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></th>
    </tr>
  </thead>
  <tbody>
    <% @collection.each do |zone| %>
      <tr id="<%= dom_id zone %>">
        <td><%=zone.name %></td>
        <td><%=zone.description %></td>
        <td class="actions">
          <%=link_to_edit zone %> &nbsp;
          <%=link_to_delete zone %>
        </td>
      </tr>
    <% end %>
    <% if @collection.empty? %>
      <tr><td colspan="2"><%= t(:none) %></td></tr>
    <% end %>
  </tbody>
</table>

<%= will_paginate(:previous_label => "&#171; #{t('previous')}", :next_label => "#{t('next')} &#187;") %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
spree_core-0.50.4 app/views/admin/zones/index.html.erb
spree_core-0.50.3 app/views/admin/zones/index.html.erb
spree_core-0.50.2 app/views/admin/zones/index.html.erb
spree_core-0.50.1 app/views/admin/zones/index.html.erb
spree_core-0.50.0 app/views/admin/zones/index.html.erb