     originType  = data.getAt('originType')
     deleterId   = data.getAt('deletedBy')?.getId?()
 
-    origin = {
+    origin =
       constructorName  : originType
       id               : originId
-    }
+
     @avatar = new AvatarView {
-      size    : {width: 30, height: 30}
-      origin
-    }
-    @author = new ProfileLinkView {
+      size     :
+        width  : 30
+        height : 30
       origin
     }
 
+    @author = new ProfileLinkView { origin }
+
     if deleterId? and deleterId isnt originId
       @deleter = new ProfileLinkView {}, data.getAt('deletedBy')
-    # if data.originId is KD.whoami().getId()
-    #   @settingsButton = new KDButtonViewWithMenu
-    #     style       : 'transparent activity-settings-context'
-    #     cssClass    : 'activity-settings-menu'
-    #     title       : ''
-    #     icon        : yes
-    #     delegate    : @
-    #     iconClass   : "cog"
-    #     menu        : [
-    #       type      : "contextmenu"
-    #       items     : [
-    #         { title : 'Delete', id : 2,  parentId : null, callback : => data.delete (err)=> @propagateEvent KDEventType: 'CommentIsDeleted' }
-    #       ]
-    #     ]
-    #     callback    : (event)=> @settingsButton.contextMenu event
-    # else
+
     @deleteLink = new KDCustomHTMLView
       tagName     : 'a'
       attributes  :

          listenedToInstance : @deleteLink
          callback           : => @confirmDeleteComment data

    @likeCount    = new ActivityLikeCount
      tooltip     :
        gravity   : "se"
        title     : ""
        engine    : "tipsy" # We should force to use tipsy because
                            # for now only tipsy supports tooltip updates
      attributes  :
        href      : "#"
        title     : "Click to view..."
      click       : =>
        if data.meta.likes > 0 # 3
          data.fetchLikedByes {},
            sort  : timestamp : -1
            , (err, likes) =>
              new FollowedModalView {title:"Members who liked <cite>#{data.body}</cite>"}, likes
      , data

    @likeCount.on "countChanged", (count) =>
      @updateLikeState yes

    @likeLink     = new ActivityActionLink

  updateLikeState:(checkIfILiked = no)->

    data = @getData()

    if data.meta.likes is 0
      @likeLink.updatePartial "Like"
      return

    data.fetchLikedByes {},
      limit : if checkIfILiked then data.meta.likes else 3
      sort  : timestamp : -1

      , (err, likes) =>

        peopleWhoLiked   = []

        if likes
          if checkIfILiked
            {_id}       = KD.whoami()
            likedBefore = likes.filter((item)-> item._id is _id).length > 0

          likes.forEach (item)=>
            if peopleWhoLiked.length < 3
              {firstName, lastName} = item.profile
              peopleWhoLiked.push "<strong>" + firstName + " " + lastName + "</strong>"
            else return

          if data.meta.likes is 1
            tooltip = peopleWhoLiked[0]
          else if data.meta.likes is 2
            tooltip = peopleWhoLiked[0] + " and " + peopleWhoLiked[1]
          else if data.meta.likes is 3
            tooltip = peopleWhoLiked[0] + ", " + peopleWhoLiked[1] + " and " + peopleWhoLiked[2]
          else
            tooltip = peopleWhoLiked[0] + ", " + peopleWhoLiked[1] + " and <strong>" + (data.meta.likes - 2) + " more.</strong>"

          @likeCount.updateTooltip {title: tooltip }

          if checkIfILiked
            @likeLink.updatePartial if likedBefore then "Unlike" else "Like"

  render:->
    if @getData().getAt 'deletedAt'
      @emit 'CommentIsDeleted'
    @setTemplate @pistachio()
    super

  viewAppended:->
    @setTemplate @pistachio()
    @template.update()
    # super unless @_partialUpdated

  click:(event)->
    $trg = $(event.target)
    more = "span.collapsedtext a.more-link"
    less = "span.collapsedtext a.less-link"
    $trg.parent().addClass("show").removeClass("hide") if $trg.is(more)
    $trg.parent().removeClass("show").addClass("hide") if $trg.is(less)

    if $(event.target).is "span.avatar a, a.user-fullname"
      {originType, originId} = @getData()

          appManager.tell "Members", "createContentDisplay", origin

  confirmDeleteComment:(data)->
    {type} = @getOptions()
    modal = new KDModalView
      title          : "Delete #{type}"
      content        : "<div class='modalformline'>Are you sure you want to delete this #{type}?</div>"
      height         : "auto"
      overlay        : yes
      buttons        :
