= top_bar title: 'active_list.title' do
  .pull-right
    .supplier-info-row
      .table-number
      .supplier-name
    .supplier-info-row
      .counter.supplier-orders-placed-count
      .counter.supplier-orders-in-process-count
  .action-buttons
    = link_to content_tag(:span, t('helpers.links.place_order')), user_list_products_path, class: ['user-top-button'], id: 'place-order-on-list'
    span#list-needs-payment-button.user-top-button
      span
    span#list-needs-help-button.user-top-button
      span
.well
  table#active-list-table.table
    thead
      tr
        th data-t="models.order" = Order.model_name.human
        th.currency data-t="attributes.product.price" = Product.human_attribute_name(:price)
    tbody
      tr
        td colspan=2 = slider_image
    tfoot
      tr
        td
        td.currency
          strong.list-total-amount
script#active-list-order-template[type="text/html"]= mustache_template 'active_list_order'
- content_for :footer do
  javascript:
    jQuery(function(){
      Quser.load_active_list();
      Quser.watch_events();
      //setInterval( "Quser.load_active_list()", 7500);
    })
