     new KDCustomHTMLView
       pistachio: "{p{@utils.applyTextExpansions #(body), yes}}",
       data
-
-  getEdited:(data) ->
-    if data.getAt 'editedAt'
-      new KDCustomHTMLView tagName: 'span', pistachio: "(edited)"
-    else new KDCustomHTMLView tagName: 'span', cssClass: 'hidden'
-
 
   getDeleteButton:(data)->
     button = new KDCustomHTMLView

          return
        data.body = comment
        data.editedAt = new Date
        @edited = @getEdited data
        @hideEditCommentForm(data)

  cancelCommentUpdate: ->
    @hideEditCommentForm(@getData())

  hideEditCommentForm:(data)->
    @body = @getBody data
    @edited.show()
    @settings = @getSettings(data)
    @timeAgoView = new KDTimeAgoView {}, data.meta.createdAt
    @updateTemplate yes


  showEditCommentForm:(data)->
    @settings.hide()
    @body.destroy()
    @edited.hide()
    @body = new EditCommentForm
      editable : yes
      delegate : this,
      data
    @timeAgoView = new KDTimeAgoView {}, data.meta.createdAt
    @updateTemplate yes

  getSettings:(data)->
    button = new KDButtonViewWithMenu

    @author = new ProfileLinkView { origin }

    @body = @getBody data
    @editCommentWrapper = new KDCustomHTMLView
      cssClass : "edit-comment-wrapper hidden"

    @editInfo = new KDCustomHTMLView
      tagName: "span"
      cssClass: "hidden"
      pistachio: "(edited)"

    if data.getAt 'editedAt' then @editInfo.show()

    if deleterId? and deleterId isnt originId
      @deleter = new ProfileLinkView {}, data.getAt('deletedBy')
