app/views/effective/orders/show.html.haml in effective_orders-1.4.2 vs app/views/effective/orders/show.html.haml in effective_orders-1.4.3

- old
+ new

@@ -1,16 +1,5 @@ -- if @order.purchased? - %h2 Receipt -- else - %h2 Order -%hr +%h2= (@order.purchased? ? 'Receipt' : 'Order') -%p.pull-right - %a.btn.btn-default{'data-role' => 'print-button', :class => 'print-button', :onClick => "window.print(); false;"} Print - - if @order.purchased? - = link_to 'Resend Receipt', effective_orders.resend_buyer_receipt_path(@order), :data => {'confirm' => 'This action will email you a copy of the original email receipt. Send receipt now?', 'disable_with' => 'Resending...'}, :class => 'btn btn-default' - = render @order - -= link_to 'Back', :back, :class => 'btn btn-primary'