Sha256: aa8b02bed5395535216c16aa8d7f2d86e43b2210a54f6fee2ebad3bca42b2fcb

Contents?: true

Size: 620 Bytes

Versions: 12

Compression:

Stored size: 620 Bytes

Contents

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

- 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 effective_orders.admin_order_path(order), title: 'Delete', data: { method: :delete, confirm: 'Are you sure you want to delete? This cannot be undone.' } do
    %span.glyphicon.glyphicon-trash

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
effective_orders-2.2.3 app/views/admin/orders/_actions.html.haml
effective_orders-2.2.2 app/views/admin/orders/_actions.html.haml
effective_orders-2.2.1 app/views/admin/orders/_actions.html.haml
effective_orders-2.2.0 app/views/admin/orders/_actions.html.haml
effective_orders-2.1.17 app/views/admin/orders/_actions.html.haml
effective_orders-2.1.16 app/views/admin/orders/_actions.html.haml
effective_orders-2.1.15 app/views/admin/orders/_actions.html.haml
effective_orders-2.1.14 app/views/admin/orders/_actions.html.haml
effective_orders-2.1.13 app/views/admin/orders/_actions.html.haml
effective_orders-2.1.12 app/views/admin/orders/_actions.html.haml
effective_orders-2.1.10 app/views/admin/orders/_actions.html.haml
effective_orders-2.1.9 app/views/admin/orders/_actions.html.haml