User app updates

This commit is contained in:
2014-03-27 21:51:16 +01:00
parent 6af7dc74af
commit e179f6e582
37 changed files with 362 additions and 53 deletions
@@ -1,15 +1,15 @@
.row
h2=t 'active_list.title'
if list.orders
if orders
ul.active_list-orders
each order in list.orders
each order in orders
li class=order.state
= order.display
span.currency= currency order.total
if displayTotal
li.total
= t 'total'
span.currency= currency list.total
span.currency= currency model.total
else
p
span=t 'active_list.no_orders_explanation'
@@ -31,6 +31,9 @@
li
=link-to 'active_list'
span= t 'active_list.title'
li
=link-to 'lists'
span= t 'models.plural.list'
section.main-section
if notice
#notice.alert-box{action clearNotice} data-alert=true
@@ -0,0 +1,10 @@
.row
h2=t 'models.list'
p Hoi
= controller
if model.extended_version
h3 Extended
else
h3 Not extended
link-to 'lists'
span Go to lists
@@ -0,0 +1 @@
= outlet
@@ -0,0 +1,11 @@
.row
h2=t 'models.plural.list'
each list in controller
.lists-overview-entry{action showList list}
span.created_at=time list.created_at
span.price.currency= currency list.price
span.name= list.supplier_name
hr
.clearfix
if hasMore
button{action showMore} Show more