Sha256: afefe9c138a0817f82951b0312ed8acdb41c0e460d2b778c98a97846e38b0baa

Contents?: true

Size: 520 Bytes

Versions: 214

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

214 entries across 214 versions & 1 rubygems

Version Path
effective_orders-6.12.4 app/views/effective/carts/show.html.haml
effective_orders-6.12.3 app/views/effective/carts/show.html.haml
effective_orders-6.12.2 app/views/effective/carts/show.html.haml
effective_orders-6.12.1 app/views/effective/carts/show.html.haml
effective_orders-6.12.0 app/views/effective/carts/show.html.haml
effective_orders-6.9.10 app/views/effective/carts/show.html.haml
effective_orders-6.9.9 app/views/effective/carts/show.html.haml
effective_orders-6.9.8 app/views/effective/carts/show.html.haml
effective_orders-6.9.7 app/views/effective/carts/show.html.haml
effective_orders-6.9.6 app/views/effective/carts/show.html.haml
effective_orders-6.9.5 app/views/effective/carts/show.html.haml
effective_orders-6.9.4 app/views/effective/carts/show.html.haml
effective_orders-6.9.2 app/views/effective/carts/show.html.haml
effective_orders-6.9.1 app/views/effective/carts/show.html.haml
effective_orders-6.9.0 app/views/effective/carts/show.html.haml
effective_orders-6.8.2 app/views/effective/carts/show.html.haml
effective_orders-6.8.1 app/views/effective/carts/show.html.haml
effective_orders-6.8.0 app/views/effective/carts/show.html.haml
effective_orders-6.7.3 app/views/effective/carts/show.html.haml
effective_orders-6.7.2 app/views/effective/carts/show.html.haml