Sha256: 3047e197164f8b3f844a5a32418337b709b81f763a42c0603a3c999f870f5626

Contents?: true

Size: 873 Bytes

Versions: 6

Compression:

Stored size: 873 Bytes

Contents

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

      <% if can?(:display, Spree::ReimbursementType) %>
        <%= settings_tab_item Spree::ReimbursementType.model_name.human(count: :other), admin_reimbursement_types_path %>
      <% end %>

      <% if can?(:display, Spree::ReturnReason) %>
        <%= settings_tab_item Spree::ReturnReason.model_name.human(count: :other), admin_return_reasons_path %>
      <% end %>

      <% if can?(:display, Spree::AdjustmentReason) %>
        <%= settings_tab_item Spree::AdjustmentReason.model_name.human(count: :other), admin_adjustment_reasons_path %>
      <% end %>
    </ul>
  </nav>
<% end %>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
solidus_backend-1.3.2 app/views/spree/admin/shared/_settings_checkout_tabs.html.erb
solidus_backend-1.3.1 app/views/spree/admin/shared/_settings_checkout_tabs.html.erb
solidus_backend-1.3.0 app/views/spree/admin/shared/_settings_checkout_tabs.html.erb
solidus_backend-1.3.0.rc2 app/views/spree/admin/shared/_settings_checkout_tabs.html.erb
solidus_backend-1.3.0.rc1 app/views/spree/admin/shared/_settings_checkout_tabs.html.erb
solidus_backend-1.3.0.beta1 app/views/spree/admin/shared/_settings_checkout_tabs.html.erb