Sha256: 0345cea322f761cc8dc3e803344f623de54c5af9692c955364e4644cce13c4bc

Contents?: true

Size: 1.04 KB

Versions: 13

Compression:

Stored size: 1.04 KB

Contents

<% if can? :admin, Spree::Order %>
  <%= tab :orders, :payments, :creditcard_payments, :shipments, :credit_cards, :return_authorizations, :icon => 'shopping-cart' %>
<% end %>
<% if can? :admin, Spree::Product %>
  <%= tab :products, :option_types, :properties, :prototypes, :variants, :product_properties, :taxonomies, :icon => 'th-large' %>
<% end %>
<% if can? :admin, Spree::Admin::ReportsController %>
  <%= tab :reports, :icon => 'file'  %>
<% end %>
<%= tab :configurations, :general_settings, :mail_methods, :tax_categories, :tax_rates, :tax_settings, :zones, :countries, :states, :payment_methods, :shipping_methods, :shipping_categories, :stock_transfers, :stock_locations, :trackers, :label => 'configuration', :icon => 'wrench', :url => spree.edit_admin_general_settings_path %>
<% if can? :admin, Spree::Promotion %>
  <%= tab(:promotions, :url => spree.admin_promotions_path, :icon => 'bullhorn') %>
<% end %>
<% if Spree.user_class && can?(:admin, Spree.user_class) %>
  <%= tab(:users, :url => spree.admin_users_path, :icon => 'user') %>
<% end %>

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
spree_backend-2.2.14 app/views/spree/admin/shared/_tabs.html.erb
spree_backend-2.2.13 app/views/spree/admin/shared/_tabs.html.erb
spree_backend-2.2.12 app/views/spree/admin/shared/_tabs.html.erb
spree_backend-2.2.11 app/views/spree/admin/shared/_tabs.html.erb
spree_backend-2.2.10 app/views/spree/admin/shared/_tabs.html.erb
spree_backend-2.2.9 app/views/spree/admin/shared/_tabs.html.erb
spree_backend-2.2.8 app/views/spree/admin/shared/_tabs.html.erb
spree_backend-2.2.7 app/views/spree/admin/shared/_tabs.html.erb
spree_backend-2.2.6 app/views/spree/admin/shared/_tabs.html.erb
spree_backend-2.2.5 app/views/spree/admin/shared/_tabs.html.erb
spree_backend-2.2.4 app/views/spree/admin/shared/_tabs.html.erb
spree_backend-2.2.3 app/views/spree/admin/shared/_tabs.html.erb
spree_backend-2.2.2 app/views/spree/admin/shared/_tabs.html.erb