Sha256: 5865ec0eb03c1198ddd4ca50a164293017f9e820518f5dfbaf1b0600ef0da3a2

Contents?: true

Size: 1006 Bytes

Versions: 10

Compression:

Stored size: 1006 Bytes

Contents

<% content_for :page_title do %>
  <%= link_to Spree.t(:taxonomies), spree.admin_taxonomies_url %> /

  <%= link_to @taxonomy.root.name, spree.edit_admin_taxonomy_url(@taxonomy) %>
  <% unless @taxon.root? %>
    / <%= @taxon.name %>
  <% end %>
<% end %>

<% content_for(:page_tabs) do %>
  <%= content_tag :li, class: 'nav-item' do %>
    <%= link_to_with_icon 'edit.svg',
                          Spree.t(:details),
                          spree.edit_admin_taxonomy_taxon_path(@taxonomy, @taxon.id),
                          class: "nav-link #{'active' if current == :details}" %>

  <% end if can?(:admin, Spree::Taxonomy) %>

  <%= content_tag :li, class: 'nav-item' do %>
    <%= link_to_with_icon 'translate.svg',
                          Spree.t(:translations),
                          translations_admin_taxonomy_taxon_path(@taxonomy, @taxon.id),
                          class: "nav-link #{'active' if current == :translations}" %>

  <% end if can?(:admin, Spree::Taxonomy) %>
<% end %>

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
spree_backend-4.8.4 app/views/spree/admin/taxons/_tabs.html.erb
spree_backend-4.8.3 app/views/spree/admin/taxons/_tabs.html.erb
spree_backend-4.8.2 app/views/spree/admin/taxons/_tabs.html.erb
spree_backend-4.8.1 app/views/spree/admin/taxons/_tabs.html.erb
spree_backend-4.7.2 app/views/spree/admin/taxons/_tabs.html.erb
spree_backend-4.6.2 app/views/spree/admin/taxons/_tabs.html.erb
spree_backend-4.7.1 app/views/spree/admin/taxons/_tabs.html.erb
spree_backend-4.7.0 app/views/spree/admin/taxons/_tabs.html.erb
spree_backend-4.6.1 app/views/spree/admin/taxons/_tabs.html.erb
spree_backend-4.6.0 app/views/spree/admin/taxons/_tabs.html.erb