app/views/effective/orders/index.html.haml in effective_orders-3.2.3 vs app/views/effective/orders/index.html.haml in effective_orders-4.0.0beta1
- old
+ new
@@ -5,7 +5,8 @@
= render_orders(@pending_orders)
- if @orders.present?
%h2 Purchased Orders
= render_orders(@orders)
-- else
+
+- unless (@pending_orders.present? || @orders.present?)
%p You have no purchased orders.