Sha256: c59399270e600670a25649d4d47417144706bf96a1f0f7e8f4455d9c039c5415

Contents?: true

Size: 1.12 KB

Versions: 14

Compression:

Stored size: 1.12 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>
    <% @zones.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 @zones.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

14 entries across 14 versions & 6 rubygems

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