App.MenuItemListNeedsPaymentComponent = Ember.Component.extend Ember.ViewTargetActionSupport,
  action: 'listNeedsPayment'
  layoutName: "components/menu/list_needs_payment"
  classNames: 'menu-list-item callout'
  classNameBindings: ['globals.active_list.needs_payment:active']
  click: ->
    if @get('globals.active_list.needs_payment')
      @set 'globals.notice', t('list_needs_payment.payment_already_requested')
    else
      @triggerAction() #action: 'listNeedsPayment'
