                 type     : "mini"
                 cssClass : "error editor"
                 title     : "Error, please try again later!"
-        # cancel       :
-        #   style      : "modal-cancel"
-        #   callback   : => modal.destroy()
+
+  updateTemplate:(force = no)->
+    if @getData().getAt 'deletedAt'
+      {type} = @getOptions()
+      @setClass "deleted"
+      if @deleter
+        @setTemplate "<div class='item-content-comment clearfix'><span>{{> @author}}'s #{type} has been deleted by {{> @deleter}}.</span></div>"
+      else
+       @setTemplate "<div class='item-content-comment clearfix'><span>{{> @author}}'s #{type} has been deleted.</span></div>"
+    else if force
+      @setTemplate @pistachio()
 
   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 class='item-content-comment clearfix'>
+      <span class='avatar'>{{> @avatar}}</span>
+      <div class='comment-contents clearfix'>
+        <p class='comment-body'>
+          {{> @author}}
+          {{@utils.applyTextExpansions #(body), yes}}
+        </p>
+        {{> @deleteLink}}
+        <span class='comment-actions'>{{> @likeView}}</span>
+        <time>{{$.timeago #(meta.createdAt)}}</time>
       </div>
-      """
+    </div>
+    """

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

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

          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()
