Sha256: 98d13350eca499b527a19f5bd60d0eb9a25f6f7c728a9f3ee218a96c31a7e666

Contents?: true

Size: 1.08 KB

Versions: 24

Compression:

Stored size: 1.08 KB

Contents

<ul class="admin-subnav" data-hook="admin_settings_sub_tabs">
  <% if can?(:admin, Spree::Store) %>
    <%= tab :stores, label: :stores, url: spree.admin_stores_path %>
  <% end %>

  <% if can?(:display, Spree::PaymentMethod) %>
    <%= tab :payments, url: spree.admin_payment_methods_path %>
  <% end %>

  <% if can?(:display, Spree::TaxCategory) || can?(:display, Spree::TaxRate) %>
    <%= tab :taxes, url: spree.admin_tax_categories_path %>
  <% end %>

  <% if can?(:display, Spree::RefundReason) || can?(:display, Spree::ReimbursementType) ||
     can?(:display, Spree::ReturnReason) || can?(:display, Spree::AdjustmentReason) %>
    <%= tab :checkout, url: spree.admin_refund_reasons_path %>
  <% end %>

  <% if can?(:display, Spree::ShippingMethod) || can?(:display, Spree::ShippingCategory) || can?(:display, Spree::StockLocation) %>
    <%= tab :shipping, url: spree.admin_shipping_methods_path, match_path: %r(shipping_methods|shipping_categories|stock_locations) %>
  <% end %>

  <% if can?(:display, Spree::Zone) %>
    <%= tab :zones, url: spree.admin_zones_path %>
  <% end %>
</ul>

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
solidus_backend-2.6.6 app/views/spree/admin/shared/_settings_sub_menu.html.erb
solidus_backend-2.7.4 app/views/spree/admin/shared/_settings_sub_menu.html.erb
solidus_backend-2.7.3 app/views/spree/admin/shared/_settings_sub_menu.html.erb
solidus_backend-2.6.5 app/views/spree/admin/shared/_settings_sub_menu.html.erb
solidus_backend-2.5.2 app/views/spree/admin/shared/_settings_sub_menu.html.erb
solidus_backend-2.7.2 app/views/spree/admin/shared/_settings_sub_menu.html.erb
solidus_backend-2.6.4 app/views/spree/admin/shared/_settings_sub_menu.html.erb
solidus_backend-2.5.1 app/views/spree/admin/shared/_settings_sub_menu.html.erb
solidus_backend-2.6.3 app/views/spree/admin/shared/_settings_sub_menu.html.erb
solidus_backend-2.7.1 app/views/spree/admin/shared/_settings_sub_menu.html.erb
solidus_backend-2.6.2 app/views/spree/admin/shared/_settings_sub_menu.html.erb
solidus_backend-2.7.0 app/views/spree/admin/shared/_settings_sub_menu.html.erb
solidus_backend-2.6.1 app/views/spree/admin/shared/_settings_sub_menu.html.erb
solidus_backend-2.6.0 app/views/spree/admin/shared/_settings_sub_menu.html.erb
solidus_backend-2.6.0.rc1 app/views/spree/admin/shared/_settings_sub_menu.html.erb
solidus_backend-2.5.0 app/views/spree/admin/shared/_settings_sub_menu.html.erb
solidus_backend-2.5.0.rc1 app/views/spree/admin/shared/_settings_sub_menu.html.erb
solidus_backend-2.5.0.beta2 app/views/spree/admin/shared/_settings_sub_menu.html.erb
solidus_backend-2.5.0.beta1 app/views/spree/admin/shared/_settings_sub_menu.html.erb
solidus_backend-2.4.2 app/views/spree/admin/shared/_settings_sub_menu.html.erb