   ui:
     subCommentsLink:          '.js-sub-comments-link'
     subCommentsLinkContainer: '.js-sub-comments-link-container'
-
-  updateSubCommentsLink: ->
-    count = @model.get('sub_comments_count')
-    countText = switch count
-      when 0 then "Comment"
-      when 1 then "1 comment"
-      else "#{count} comments"
-    @ui.subCommentsLink.text countText
-
-    if Factlink.Global.signed_in or count > 0
-      @showSubCommentsLink()
-    else
-      @hideSubCommentsLink()
-
-  showSubCommentsLink: -> @ui.subCommentsLinkContainer.removeClass 'hide'
-  hideSubCommentsLink: -> @ui.subCommentsLinkContainer.addClass 'hide'
-
-
-class window.NDPFactRelationOrCommentBottomView extends GenericEvidenceBottomView
-  className: 'ndp-evidenceish-bottom bottom-base'
 
   regions:
     deleteRegion: '.js-delete-region'

class window.GenericEvidenceBottomView extends Backbone.Marionette.Layout
  template: 'facts/evidence_bottom'

  triggers:

      @_deleteButtonView = new DeleteButtonView model: @model
      @listenTo @_deleteButtonView, 'delete', -> @model.destroy wait: true
      @deleteRegion.show @_deleteButtonView

  updateSubCommentsLink: ->
    count = @model.get('sub_comments_count')
    countText = switch count
      when 0 then "Comment"
      when 1 then "1 comment"
      else "#{count} comments"
    @ui.subCommentsLink.text countText

    if Factlink.Global.signed_in or count > 0
      @showSubCommentsLink()
    else
      @hideSubCommentsLink()

  showSubCommentsLink: -> @ui.subCommentsLinkContainer.removeClass 'hide'
  hideSubCommentsLink: -> @ui.subCommentsLinkContainer.addClass 'hide'
