Sha256: e891dbc141854ecc1c19ea6fdf5351a2f3521008be872c4c7b60ba046848128e

Contents?: true

Size: 852 Bytes

Versions: 12

Compression:

Stored size: 852 Bytes

Contents

<% if can? :admin, Spree::Order %>
  <%= tab *Spree::BackendConfiguration::ORDER_TABS, icon: 'shopping-cart' %>
<% end %>

<% if can? :admin, Spree::Product %>
  <%= tab *Spree::BackendConfiguration::PRODUCT_TABS, icon: 'th-large' %>
<% end %>

<% if can? :admin, Spree::Admin::ReportsController %>
  <%= tab *Spree::BackendConfiguration::REPORT_TABS, icon: 'file'  %>
<% end %>

<%= tab *Spree::BackendConfiguration::CONFIGURATION_TABS, label: 'configuration', icon: 'wrench', url: spree.edit_admin_general_settings_path %>

<% if can? :admin, Spree::Promotion %>
  <%= tab *Spree::BackendConfiguration::PROMOTION_TABS, url: spree.admin_promotions_path, icon: 'bullhorn' %>
<% end %>

<% if Spree.user_class && can?(:admin, Spree.user_class) %>
  <%= tab *Spree::BackendConfiguration::USER_TABS, url: spree.admin_users_path, icon: 'user' %>
<% end %>

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
spree_backend-2.4.10 app/views/spree/admin/shared/_tabs.html.erb
spree_backend-2.4.9 app/views/spree/admin/shared/_tabs.html.erb
spree_backend-2.4.8 app/views/spree/admin/shared/_tabs.html.erb
spree_backend-2.4.7 app/views/spree/admin/shared/_tabs.html.erb
spree_backend-2.4.6 app/views/spree/admin/shared/_tabs.html.erb
spree_backend-2.4.5 app/views/spree/admin/shared/_tabs.html.erb
spree_backend-2.4.4 app/views/spree/admin/shared/_tabs.html.erb
spree_backend-2.4.3 app/views/spree/admin/shared/_tabs.html.erb
spree_backend-2.4.2 app/views/spree/admin/shared/_tabs.html.erb
spree_backend-2.4.1 app/views/spree/admin/shared/_tabs.html.erb
spree_backend-2.4.0 app/views/spree/admin/shared/_tabs.html.erb
spree_backend-2.4.0.rc3 app/views/spree/admin/shared/_tabs.html.erb