.display-row
  .display-label=t 'attributes.list.created_at'
  .display-field=time list.created_at
if list.closed_at
  .display-row
    .display-label=t 'attributes.list.closed_at'
    .display-field=time list.closed_at
.display-row
  .display-label=t 'attributes.list.state'
  .display-field
    =state 'list' list.state
.display-row
  .display-label &nbsp;
  .display-field: App.CloseListButtonView content=list
.user-info-container
  each user in list.users
    =user.facebook_image_tag
if list.sorted_orders
  .list-orders-container
    each order in list.sorted_orders
      .list-order-container class=order.state
        = order.display
        span.currency= currency order.total
        span.created_at= time order.created_at
    if showTotal
      .list-orders-total.total
        = t 'total'
        span.currency= currency list.total
else
  p
    span=t 'active_list.no_orders_explanation'
