Sha256: 974d2836a5572e4c6c5c43e7c46b25322e51e30d2104a4ccfebe0b878a425178

Contents?: true

Size: 1.24 KB

Versions: 5

Compression:

Stored size: 1.24 KB

Contents

<% content_for :page_title do %>
  <%= Spree.t(:editing_product) %> &ldquo;<%= @product.name %>&rdquo;
<% end %>

<% content_for :sidebar_title do %>
  <span class="sku"><%= @product.sku %></span>
<% end %>

<% content_for :sidebar do %>
  <nav class="menu">
    <ul data-hook="admin_product_tabs">
      <li<%== ' class="active"' if current == 'Product Details' %>>
        <%= link_to_with_icon 'icon-edit', Spree.t(:product_details), edit_admin_product_url(@product) %>
      </li>
      <li<%== ' class="active"' if current == 'Images' %>>
        <%= link_to_with_icon 'icon-picture', Spree.t(:images), admin_product_images_url(@product) %>
      </li>
      <li<%== ' class="active"' if current == 'Variants' %>>
        <%= link_to_with_icon 'icon-th-large', Spree.t(:variants),  admin_product_variants_url(@product) %>
      </li>
      <li<%== ' class="active"' if current == 'Product Properties' %>>
        <%= link_to_with_icon 'icon-tasks', Spree.t(:product_properties), admin_product_product_properties_url(@product) %>
      </li>
      <li<%== ' class="active"' if current == 'Stock Management' %>>
        <%= link_to_with_icon 'icon-tasks', Spree.t(:stock_management), stock_admin_product_url(@product) %>
      </li>
    </ul>
  </nav>

<% end %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
spree_backend-2.0.3 app/views/spree/admin/shared/_product_tabs.html.erb
spree_backend-2.0.2 app/views/spree/admin/shared/_product_tabs.html.erb
spree_backend-2.0.1 app/views/spree/admin/shared/_product_tabs.html.erb
spree_backend-2.0.0 app/views/spree/admin/shared/_product_tabs.html.erb
spree_backend-2.0.0.rc1 app/views/spree/admin/shared/_product_tabs.html.erb