Sha256: 6ddf401543517adba5a347c70a4d32ea0cbf91e8751188afeba065ec5d90332a
Contents?: true
Size: 1.22 KB
Versions: 5
Compression:
Stored size: 1.22 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, match_path: %r(tax_categories|tax_rates) %> <% 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, match_path: %r(refund_reasons|reimbursement_types|return_reasons|adjustment_reasons|store_credit_reasons) %> <% 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
5 entries across 5 versions & 1 rubygems