.page-header
  div.dashboard-section-selection
    App.HomeSectionSelectorView selectionBinding="controller.controllers.application.active_section" content=controller.sections prompt=controllers.application.supplier.name
    App.HomeSectionJumperView
  if active_lists.length
    h3.dashboard-lists-header{action "toggleDashboardLists"}
      if show_lists
        span.icon
      else
        span.icon.collapsed
      =t 'active_lists.title'
      span= list_number_info
  else
    h3=t 'dashboard.active_lists.no_lists'
if show_lists_table
  table.active-lists-table.table
    thead
      tr
        th.user-info.show-for-large-up
        th.status-icons
        th.numeric=t 'table_number'
        th=t 'models.section'
        th.currency=t 'active_lists.price'
        th.actions
    tbody
      each list in active_lists: App.ActiveListView contentBinding="list"
.page-header
  if active_orders.length
    h3.dashboard-orders-header{action "toggleDashboardOrders"}
      if show_orders
        span.icon
      else
        span.icon.collapsed
      =t 'active_orders.title'
      span= order_number_info
  else
    h3= t 'dashboard.active_orders.no_orders'
if show_orders_table
  table.active-orders-table.table
    thead
      tr
        th.user-info.show-for-large-up
        th.status-icons
        th=t 'models.order'
        th.numeric=t 'table_number'
        th=t 'models.section'
        th.currency=t 'active_orders.price'
        th.time
        th.actions
    tbody
      each order in active_orders: App.ActiveOrderView contentBinding="order"
