App.ListOrderComponent = Ember.Component.extend
  classNames: 'list-order-container'
  classNameBindings: ['order.state', 'contentWrapClass']
  #layoutName: 'components/list-order'
  contentWrapClass: (-> "order-row-#{@get('order.id')}").property('order.id')
  #click: ->
    #if @route_param
      #@get('controller').transitionToRoute(@route, @route_param)
    #else
      #@get('controller').transitionToRoute(@route)
  #active: (->
    #if @get('controller.currentPath') == @route then 'active' else ''
  #).property('controller.currentPath')
  #init: ->
    #@layoutName = "menu_item_#{@route}"
    #@_super()

