Sha256: 8f20db2811a7eb4799fafd650b4424f04d5165aed56145dcab3d0e3697365efb

Contents?: true

Size: 415 Bytes

Versions: 9

Compression:

Stored size: 415 Bytes

Contents

- if (order.purchased? == false) && (EffectiveOrders.authorized?(controller, :admin, :effective_orders) rescue false)
  = link_to effective_orders.mark_as_paid_admin_order_path(order), title: 'Mark as Paid' do
    %span.glyphicon.glyphicon-usd

= link_to (datatables_admin_path? ? effective_orders.admin_order_path(order) : effective_orders.order_path(order)), title: 'View' do
  %span.glyphicon.glyphicon-eye-open

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
effective_orders-2.1.8 app/views/admin/orders/_actions.html.haml
effective_orders-2.1.7 app/views/admin/orders/_actions.html.haml
effective_orders-2.1.6 app/views/admin/orders/_actions.html.haml
effective_orders-2.1.5 app/views/admin/orders/_actions.html.haml
effective_orders-2.1.4 app/views/admin/orders/_actions.html.haml
effective_orders-2.1.3 app/views/admin/orders/_actions.html.haml
effective_orders-2.1.2 app/views/admin/orders/_actions.html.haml
effective_orders-2.1.1 app/views/admin/orders/_actions.html.haml
effective_orders-2.1.0 app/views/admin/orders/_actions.html.haml