Style upgrades and emberified supplier lists

This commit is contained in:
2014-04-24 16:41:08 +02:00
parent 546e4499ea
commit 27a1022eb4
56 changed files with 321 additions and 139 deletions
@@ -7,7 +7,7 @@ if list.orders
= order.display
span.currency= currency order.total
span.created_at= time order.created_at
if displayTotal
if showTotal
.list-orders-total.total
= t 'total'
span.currency= currency model.total
@@ -4,7 +4,7 @@ if modelDisabled
.clearfix
.panel
ul.product-orders
each product_order in controller
each product_order in product_orders
li.product_order
= product_order.quantity
| x
@@ -14,8 +14,9 @@ if modelDisabled
span.currency=currency product_order.total
else
li= t 'product_orders.no_orders'
li.total
= t 'product_orders.total'
span.right.currency=currency orderTotal
if model
a.tiny.button.right{action orderProducts} href="#"= t 'product_orders.order_button'
if showTotal
li.total
= t 'product_orders.total'
span.right.currency=currency orderTotal
if product_orders
a.order-selected-products-button{action orderProducts} href="#"= t 'product_orders.order_button'