= top_bar title: '' || 'show_products.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
  .main-buttons= link_to image_tag('icons/logo-small.png', alt: application_title), user_root_path, class: :brand
  .action-buttons
    = link_to  user_active_list_path, class: ['user-top-button'], id: 'show-active-list' do
      /span=# t('helpers.links.show_active_list', list: List.model_name.human)
      span.fa.fa-menu.fa-lg
    span#list-needs-payment-button.user-top-button
      span.fa.fa-money.fa-lg
    /span#list-needs-help-button.user-top-button
      span
        span
    span#list-needs-help-button.user-top-button.left
      span.fa.fa-question.fa-lg


.well
  table#products-table.table
    tbody
      tr
        td= slider_image
  #active-order-container
script#products-category-template[type="text/html"]= mustache_template 'products_category'
script#products-category-for-order-template[type="text/html"]= mustache_template 'products_category_for_order'
script#active-order-template[type="text/html"]= mustache_template 'active_order'
- onload_javascript 'Quser.handle_active_list(function(){Quser.load_active_list_products();Quser.watch_events()})'
