Sha256: b72bf59485019dc3059a9585189073cc9530d9d7047e713a5f720e950c4cf0e2

Contents?: true

Size: 1.35 KB

Versions: 14

Compression:

Stored size: 1.35 KB

Contents

<% render 'admin/shared/product_sub_menu' %>
<div class='toolbar'>
  <ul class='actions'>
    <li>
      <%= button_link_to t("new_product_group"), new_object_url, :icon => 'add', :id => 'new_product_group_link' %>
    </li>
  </ul>
  <br class='clear' />
</div>

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

<table class="index" id='listing_product_groups'>
  <thead>
    <tr>
      <th><%= ProductGroup.human_attribute_name("name") %></th>
      <th><%= ProductGroup.human_attribute_name("url") %></th>
      <th><%= ProductGroup.human_attribute_name("product_scopes")  %></th>
      <th><%= ProductGroup.human_attribute_name("product_count")  %></th>
      <th><%= t(:action) %></th>
    </tr>
  </thead>
  <tbody>
    <% @product_groups.each do |pg| %>
      <tr id="<%= dom_id pg %>">
        <td><%= link_to pg.name, [:admin, pg] %></td>
        <td><%= link_to pg_search_path(:product_group_name => pg.permalink), pg_search_path(:product_group_name => pg.permalink) %></td>
        <td><%== pg.product_scopes.map(&:to_sentence).join("<br />") %></td>
        <td><%= pg.products.count %></td>
        <td>
          <%= link_to_edit pg, :class => 'admin_edit_product_group' %> &nbsp; <%= link_to_delete pg %>
        </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/product_groups/index.html.erb
My-Commerce_core-1.1.0 app/views/admin/product_groups/index.html.erb
My-Commerce_core-1.0.0 app/views/admin/product_groups/index.html.erb
MyCommerceapi-1.0.0 core/app/views/admin/product_groups/index.html.erb
MyCommerce-0.0.3 core/app/views/admin/product_groups/index.html.erb
rfcommerce_core-0.0.3 app/views/admin/product_groups/index.html.erb
spree_core-0.60.6 app/views/admin/product_groups/index.html.erb
spree_core-0.60.5 app/views/admin/product_groups/index.html.erb
spree_core-0.60.4 app/views/admin/product_groups/index.html.erb
spree_core-0.60.3 app/views/admin/product_groups/index.html.erb
spree_core-0.60.2 app/views/admin/product_groups/index.html.erb
spree_core-0.60.1 app/views/admin/product_groups/index.html.erb
spree_core-0.60.0 app/views/admin/product_groups/index.html.erb
spree_core-0.60.0.RC1 app/views/admin/product_groups/index.html.erb