User ember progress
This commit is contained in:
@@ -1,19 +1,28 @@
|
||||
.row
|
||||
h2=t 'active_list.title'
|
||||
if orders
|
||||
ul.active_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 model.total
|
||||
if list
|
||||
each user in list.users
|
||||
img.facebook-image src="http://graph.facebook.com/#{unbound user.facebook_id}/picture?type=square"
|
||||
if list.orders
|
||||
.list-orders-container
|
||||
each order in orders
|
||||
.list-order-container class=order.state
|
||||
= order.display
|
||||
span.currency= currency order.total
|
||||
if displayTotal
|
||||
.list-orders-total.total
|
||||
= t 'total'
|
||||
span.currency= currency model.total
|
||||
else
|
||||
p
|
||||
span=t 'active_list.no_orders_explanation'
|
||||
br
|
||||
link-to 'list_products' class="button"
|
||||
span=t 'list_products.title'
|
||||
|
||||
else
|
||||
p
|
||||
span=t 'active_list.no_orders_explanation'
|
||||
span=t 'active_list.not_active.message'
|
||||
br
|
||||
link-to 'list_products' class="button"
|
||||
span=t 'list_products.title'
|
||||
|
||||
link-to 'index' class="button"
|
||||
span= t 'active_list.not_active.home_button_text'
|
||||
|
||||
@@ -34,6 +34,9 @@
|
||||
li
|
||||
=link-to 'lists'
|
||||
span= t 'models.plural.list'
|
||||
li
|
||||
=link-to 'join_requests'
|
||||
span= t 'models.plural.join_request'
|
||||
section.main-section
|
||||
if notice
|
||||
#notice.alert-box{action clearNotice} data-alert=true
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
.row
|
||||
h2= t 'join_request.existing_user.title'
|
||||
each join_request in join_requests
|
||||
.join-request-container
|
||||
img.facebook-image src="http://graph.facebook.com/#{unbound join_request.user.facebook_id}/picture?type=square"
|
||||
span.user-email= join_request.user.email
|
||||
.right
|
||||
button.join-request-reject{action rejectRequest join_request}=t 'join_request.existing_user.reject_request'
|
||||
button.join-request-approve{action approveRequest join_request}=t 'join_request.existing_user.approve_request'
|
||||
else
|
||||
p=t 'join_request.existing_user.no_join_requests_message'
|
||||
Reference in New Issue
Block a user