Sha256: 05e9f60616870c2b5aaffcb7c791abd5a3b17ef0b641084c78433df8a35f6938
Contents?: true
Size: 1.35 KB
Versions: 13
Compression:
Stored size: 1.35 KB
Contents
<% Spree.deprecator.warn "Using the #{@virtual_path.inspect} partial is deprecated, please use MenuItem#children instead." %> <ul class="admin-subnav" data-hook="admin_settings_sub_tabs"> <% if can?(:admin, Spree::Store) %> <%= tab label: :stores, url: spree.admin_stores_path %> <% end %> <% if can?(:admin, Spree::PaymentMethod) %> <%= tab label: :payments, url: spree.admin_payment_methods_path %> <% end %> <% if can?(:admin, Spree::TaxCategory) || can?(:admin, Spree::TaxRate) %> <%= tab label: :taxes, url: spree.admin_tax_categories_path, match_path: %r(tax_categories|tax_rates) %> <% end %> <% if can?(:admin, Spree::RefundReason) || can?(:admin, Spree::ReimbursementType) || can?(:show, Spree::ReturnReason) || can?(:show, Spree::AdjustmentReason) %> <%= tab label: :checkout, url: spree.admin_refund_reasons_path, match_path: %r(refund_reasons|reimbursement_types|return_reasons|adjustment_reasons|store_credit_reasons) %> <% end %> <% if can?(:admin, Spree::ShippingMethod) || can?(:admin, Spree::ShippingCategory) || can?(:admin, Spree::StockLocation) %> <%= tab label: :shipping, url: spree.admin_shipping_methods_path, match_path: %r(shipping_methods|shipping_categories|stock_locations) %> <% end %> <% if can?(:admin, Spree::Zone) %> <%= tab label: :zones, url: spree.admin_zones_path %> <% end %> </ul>
Version data entries
13 entries across 13 versions & 1 rubygems