Add user product info

This commit is contained in:
2014-04-22 18:42:02 +02:00
parent 821f59b761
commit ea498cb9c5
26 changed files with 1474 additions and 105 deletions
@@ -0,0 +1,5 @@
modal-dialog action="close"
h3.flush--top= title
p==body
hr
button{action 'close'}= t 'modal.info.close'
@@ -25,9 +25,16 @@
unless product_category.collapsed
ul.product_category-products
each product in product_category.products
li
li class="order-product-#{unbound product.id}"
if product.description
button.show-product-description{action showProductDescription product}
span
else
span.no-product-description
a{action addProduct product}= product.name
span.right.currency=currency product.price
button.add-product-to-list{action addProduct product}
span
span.product-price.currency=currency product.price
.large-6.columns= render 'product_orders'
else
.large12
@@ -39,5 +46,8 @@
ul.product_category-products
each product in product_category.products
li
if product.description
button.show-product-description{action showProductDescription product}
span
span= product.name
span.right.currency=currency product.price