Sha256: afefe9c138a0817f82951b0312ed8acdb41c0e460d2b778c98a97846e38b0baa

Contents?: true

Size: 520 Bytes

Versions: 235

Compression:

Stored size: 520 Bytes

Contents

%h1.effective-heading= @page_title

- if @cart.blank?
  %p No items in cart.

- if @cart.present?
  %p Your cart has #{@cart.cart_items.length} items.

  = render_cart(@cart)
  = render partial: '/effective/carts/cart_actions', locals: { cart: @cart }

- if @pending_orders.present?
  %h2 Pending Orders
  = render_orders(@pending_orders)

- if @cart.user && Effective::Order.purchased.where(user: @cart.user).exists?
  = link_to 'Order History', effective_orders.orders_path, rel: :nofollow, class: 'btn btn-secondary'

Version data entries

235 entries across 235 versions & 1 rubygems

Version Path
effective_orders-4.5.0 app/views/effective/carts/show.html.haml
effective_orders-4.4.10 app/views/effective/carts/show.html.haml
effective_orders-4.4.9 app/views/effective/carts/show.html.haml
effective_orders-4.4.8 app/views/effective/carts/show.html.haml
effective_orders-4.4.7 app/views/effective/carts/show.html.haml
effective_orders-4.4.6 app/views/effective/carts/show.html.haml
effective_orders-4.4.5 app/views/effective/carts/show.html.haml
effective_orders-4.4.4 app/views/effective/carts/show.html.haml
effective_orders-4.4.3 app/views/effective/carts/show.html.haml
effective_orders-4.4.2 app/views/effective/carts/show.html.haml
effective_orders-4.4.1 app/views/effective/carts/show.html.haml
effective_orders-4.4.0 app/views/effective/carts/show.html.haml
effective_orders-4.3.2 app/views/effective/carts/show.html.haml
effective_orders-4.3.1 app/views/effective/carts/show.html.haml
effective_orders-4.3.0 app/views/effective/carts/show.html.haml
effective_orders-4.2.7 app/views/effective/carts/show.html.haml
effective_orders-4.2.6 app/views/effective/carts/show.html.haml
effective_orders-4.2.5 app/views/effective/carts/show.html.haml
effective_orders-4.2.4 app/views/effective/carts/show.html.haml
effective_orders-4.2.3 app/views/effective/carts/show.html.haml