     </span>
     {{> @loader}}
     """
-
-  attachListeners:->
-
-    activity    = @getData()
-    commentList = @getDelegate()
-
-    commentList.on 'BackgroundActivityStarted',  @loader.bound 'show'
-    commentList.on 'BackgroundActivityFinished', @loader.bound 'hide'
-
-    @commentLink.on "click", (event)=>
-      @utils.stopDOMEvent event
-      commentList.emit "CommentLinkReceivedClick", event, this
 
 class ActivityActionLink extends KDCustomHTMLView
   constructor:(options,data)->

    @attachListeners()
    @loader.hide()

  pistachio:->

    """
    <span class='logged-in action-container'>

      loaderOptions :
        color       : '#6B727B'


  attachListeners: ->

    activity    = @getData()
    commentList = @getDelegate()

    commentList.on 'BackgroundActivityStarted',  @loader.bound 'show'
    commentList.on 'BackgroundActivityFinished', @loader.bound 'hide'

    @commentLink.on "click", (event)=>
      @utils.stopDOMEvent event
      commentList.emit "CommentLinkReceivedClick", event, this


  viewAppended: ->

    @setClass "activity-actions"
    @setTemplate @pistachio()
