Sha256: ffd0a0df2f074702b7375b256212a98e5b92df0aa637fd14727892812cb0a903

Contents?: true

Size: 659 Bytes

Versions: 8

Compression:

Stored size: 659 Bytes

Contents

<% content_for :page_title do %>
  <%= plural_resource_name(Spree::Taxonomy) %>
<% end %>

<% content_for :page_actions do %>
  <%= button_link_to Spree.t(:new_taxonomy), new_object_url, class: "btn-success", icon: 'add.svg', id: 'admin_new_taxonomy_link' %>
<% end if can?(:create, Spree::Taxonomy) %>

<% if @taxonomies.any? %>
  <div id="list-taxonomies" data-hook>
    <%= render 'list' %>
  </div>
<% else %>
  <div class="text-center no-objects-found m-5">
    <%= Spree.t(:no_resource_found, resource: plural_resource_name(Spree::Taxonomy)) %>,
    <%= link_to Spree.t(:add_one), new_object_url if can?(:create, Spree::Taxonomy) %>!
  </div>
<% end %>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
spree_backend-4.7.2 app/views/spree/admin/taxonomies/index.html.erb
spree_backend-4.6.2 app/views/spree/admin/taxonomies/index.html.erb
spree_backend-4.7.1 app/views/spree/admin/taxonomies/index.html.erb
spree_backend-4.7.0 app/views/spree/admin/taxonomies/index.html.erb
spree_backend-4.6.1 app/views/spree/admin/taxonomies/index.html.erb
spree_backend-4.6.0 app/views/spree/admin/taxonomies/index.html.erb
spree_backend-4.5.1 app/views/spree/admin/taxonomies/index.html.erb
spree_backend-4.5.0 app/views/spree/admin/taxonomies/index.html.erb