app/views/effective/orders/show.html.haml in effective_orders-1.2.13 vs app/views/effective/orders/show.html.haml in effective_orders-1.3.0
- old
+ new
@@ -2,16 +2,15 @@
%h2 Receipt
- else
%h2 Order
%hr
-%a.btn.btn-default.pull-right{'data-role' => 'print-button', :class => 'print-button', :onClick => "window.print(); false;"} Print
+%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?', :class => 'btn btn-default'
= render @order
-%hr
= link_to 'Back', :back, :class => 'btn btn-primary'
-- 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?', :class => 'btn btn-default'