Sha256: 575e228117b71d345477712fbb2cce64c0c3c7737788800e81b9d95798fd9bbb

Contents?: true

Size: 1.02 KB

Versions: 21

Compression:

Stored size: 1.02 KB

Contents

<% content_for :tabs do %>
  <nav>
    <ul class="tabs" data-hook="admin_settings_checkout_tabs">
      <% if can?(:display, Spree::RefundReason) %>
        <%= settings_tab_item plural_resource_name(Spree::RefundReason), spree.admin_refund_reasons_path %>
      <% end %>

      <% if can?(:display, Spree::ReimbursementType) %>
        <%= settings_tab_item plural_resource_name(Spree::ReimbursementType), spree.admin_reimbursement_types_path %>
      <% end %>

      <% if can?(:display, Spree::ReturnReason) %>
        <%= settings_tab_item plural_resource_name(Spree::ReturnReason), spree.admin_return_reasons_path %>
      <% end %>

      <% if can?(:display, Spree::AdjustmentReason) %>
        <%= settings_tab_item plural_resource_name(Spree::AdjustmentReason), spree.admin_adjustment_reasons_path %>
      <% end %>

      <% if can?(:display, Spree::StoreCreditReason) %>
        <%= settings_tab_item plural_resource_name(Spree::StoreCreditReason), spree.admin_store_credit_reasons_path %>
      <% end %>
    </ul>
  </nav>
<% end %>

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
solidus_backend-2.10.5 app/views/spree/admin/shared/_settings_checkout_tabs.html.erb
solidus_backend-2.10.3 app/views/spree/admin/shared/_settings_checkout_tabs.html.erb
solidus_backend-2.10.2 app/views/spree/admin/shared/_settings_checkout_tabs.html.erb
solidus_backend-2.9.6 app/views/spree/admin/shared/_settings_checkout_tabs.html.erb
solidus_backend-2.8.6 app/views/spree/admin/shared/_settings_checkout_tabs.html.erb
solidus_backend-2.10.1 app/views/spree/admin/shared/_settings_checkout_tabs.html.erb
solidus_backend-2.9.5 app/views/spree/admin/shared/_settings_checkout_tabs.html.erb
solidus_backend-2.10.0 app/views/spree/admin/shared/_settings_checkout_tabs.html.erb
solidus_backend-2.9.4 app/views/spree/admin/shared/_settings_checkout_tabs.html.erb
solidus_backend-2.8.5 app/views/spree/admin/shared/_settings_checkout_tabs.html.erb
solidus_backend-2.9.3 app/views/spree/admin/shared/_settings_checkout_tabs.html.erb
solidus_backend-2.9.2 app/views/spree/admin/shared/_settings_checkout_tabs.html.erb
solidus_backend-2.10.0.beta1 app/views/spree/admin/shared/_settings_checkout_tabs.html.erb
solidus_backend-2.9.1 app/views/spree/admin/shared/_settings_checkout_tabs.html.erb
solidus_backend-2.9.0 app/views/spree/admin/shared/_settings_checkout_tabs.html.erb
solidus_backend-2.9.0.rc.1 app/views/spree/admin/shared/_settings_checkout_tabs.html.erb
solidus_backend-2.8.4 app/views/spree/admin/shared/_settings_checkout_tabs.html.erb
solidus_backend-2.8.3 app/views/spree/admin/shared/_settings_checkout_tabs.html.erb
solidus_backend-2.8.2 app/views/spree/admin/shared/_settings_checkout_tabs.html.erb
solidus_backend-2.8.1 app/views/spree/admin/shared/_settings_checkout_tabs.html.erb