     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  :

                type     : "mini"
                cssClass : "error editor"
                title     : "Error, please try again later!"
        # cancel       :
        #   style      : "modal-cancel"
        #   callback   : => modal.destroy()

  pistachio:->
    if @getData().getAt 'deletedAt'
      @setClass "deleted"
      if @deleter
        "<div class='item-content-comment clearfix'><span>{{> @author}}'s comment has been deleted by {{> @deleter}}.</span></div>"
      else
        "<div class='item-content-comment clearfix'><span>{{> @author}}'s comment has been deleted.</span></div>"
    else
      """
      <div class='item-content-comment clearfix'>
        <span class='avatar'>{{> @avatar}}</span>
        <div class='comment-contents clearfix'>
          {{> @deleteLink}}
          <p class='comment-body'>
            {{> @author}}
            {{@utils.applyTextExpansions #(body), yes}}
          </p>
          <time>{{$.timeago #(meta.createdAt)}}</time>
        </div>
      </div>
      """

          listenedToInstance : @deleteLink
          callback           : => @confirmDeleteComment data

    @likeView = new LikeView {}, data

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

  viewAppended:->
    @updateTemplate yes
    @template.update()

  click:(event)->

    if $(event.target).is("span.collapsedtext a.more-link")
      @$("span.collapsedtext").addClass "show"
      @$("span.collapsedtext").removeClass "hide"

    if $(event.target).is("span.collapsedtext a.less-link")
      @$("span.collapsedtext").removeClass "show"
      @$("span.collapsedtext").addClass "hide"

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