Sha256: 454ae1142cf011598503733ed52299625b0816515f6b5052176547d462043731
Contents?: true
Size: 1.52 KB
Versions: 3
Compression:
Stored size: 1.52 KB
Contents
<%= render :partial => 'spree/admin/shared/configuration_menu' %> <% content_for :page_title do %> <%= t(:zones) %> <% end %> <% content_for :page_actions do %> <li> <%= button_link_to t(:new_zone), new_object_url, :icon => 'icon-plus', :id => 'admin_new_zone_link' %> </li> <% end %> <%= paginate @zones %> <% if @zones.empty? %> <div class="no-objects-found"> <%= t(:none) %> </div> <% else %> <table class="index" id='listing_zones' data-hook> <colgroup> <col style="width: 30%" /> <col style="width: 40%" /> <col style="width: 15%" /> <col style="width: 15%" /> </colgroup> <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 class="actions"></th> </tr> </thead> <tbody> <% @zones.each do |zone| %> <tr id="<%= spree_dom_id zone %>" data-hook="zones_row" class="<%= cycle('odd', 'even')%>"> <td><%=zone.name %></td> <td><%=zone.description %></td> <td class="align-center"><%=zone.default_tax %></td> <td class="actions"> <%=link_to_edit zone, :no_text => true %> <%=link_to_delete zone, :no_text => true %> </td> </tr> <% end %> </tbody> </table> <% end%> <%= paginate @zones %>
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
spree_core-1.3.5 | app/views/spree/admin/zones/index.html.erb |
spree_core-1.3.4 | app/views/spree/admin/zones/index.html.erb |
spree_core-1.3.3 | app/views/spree/admin/zones/index.html.erb |