Sha256: 63c50b54a9a515121fe3961065bb0e1aa17c915e8e8683315b382d5fd395b80a
Contents?: true
Size: 1.33 KB
Versions: 15
Compression:
Stored size: 1.33 KB
Contents
<nav class="menu"> <ul data-hook="admin_order_tabs"> <% if can? :update, @order %> <li<%== ' class="active"' if current == 'Order Details' %>> <%= link_to_with_icon 'edit', Spree.t(:order_details), edit_admin_order_url(@order) %> </li> <% end %> <% if can?(:update, @order) && checkout_steps.include?("address") %> <li<%== ' class="active"' if current == 'Customer Details' %>> <%= link_to_with_icon 'user', Spree.t(:customer_details), admin_order_customer_url(@order) %> </li> <% end %> <% if can? :index, Spree::Adjustment %> <li<%== ' class="active"' if current == 'Adjustments' %>> <%= link_to_with_icon 'cogs', Spree.t(:adjustments), admin_order_adjustments_url(@order) %> </li> <% end %> <% if can?(:index, Spree::Payment) %> <li<%== ' class="active"' if current == 'Payments' %>> <%= link_to_with_icon 'credit-card', Spree.t(:payments), admin_order_payments_url(@order) %> </li> <% end %> <% if can? :index, Spree::ReturnAuthorization %> <% if @order.completed? %> <li<%== ' class="active"' if current == 'Return Authorizations' %>> <%= link_to_with_icon 'share', Spree.t(:return_authorizations), admin_order_return_authorizations_url(@order) %> </li> <% end %> <% end %> </ul> </nav>
Version data entries
15 entries across 15 versions & 1 rubygems