.top-menu
  .top-menu-bar
    .menu-content
      section.main-buttons
        if globals.active_list.id
          link-to 'index' class="top-menu-logo with-list"
            = image-tag 'user/logo-small.png'
          = menu-item route="active_list"
          = menu-item route="table" route_param=globals.active_list.table
          = menu-item-list-needs-help
          = menu-item-list-needs-payment
        else
          link-to 'index' class="top-menu-logo without-list"
            = image-tag 'user/logo-small.png'
          = menu-item-scan-qr
        = menu-item-product-orders
  if globals.active_list
    .extra-info{action "showSupplierStatusInfo"}
      .supplier-info-row
        / .supplier-name= list.supplier.name
        .table-number
          |#&nbsp;
          = globals.active_list.table.number
      .supplier-info-row
        .counter.supplier-orders-placed-count
          = globals.active_list.supplier.orders_placed_count
          span.orders-placed-count-icon
      .supplier-info-row
        .counter.supplier-orders-in-process-count
          = globals.active_list.supplier.orders_in_process_count
          span.orders-in-process-count-icon
