App.MenuItemListNeedsPaymentView = Ember.View.extend Ember.ViewTargetActionSupport,
  action: 'listNeedsPayment'
  templateName: "menu_item_list_needs_payment"
  classNames: 'menu-list-item callout'
  classNameBindings: ['controller.list.needs_payment:active']
  click: ->
    if @get('controller.list.needs_payment')
      @set 'controller.notice', t('list_needs_payment.payment_already_requested')
    else
      @triggerAction() #action: 'listNeedsPayment'

