app/views/effective/orders/index.html.haml in effective_orders-2.2.4 vs app/views/effective/orders/index.html.haml in effective_orders-3.0.0
- old
+ new
@@ -1,13 +1,11 @@
%h1.effective-heading= @page_title
-%h2 Pending Orders
- if @pending_orders.present?
+ %h2 Pending Orders
= render_orders(@pending_orders)
-- else
- %p You have no pending orders.
-%h2 Purchased Orders
- if @orders.present?
+ %h2 Purchased Orders
= render_orders(@orders)
- else
%p You have no purchased orders.