     
     @typeLabel = new KDCustomHTMLView
       cssClass : 'type-label'
-      
-    @createSettingsView(data)
-  
-  createLeafItemViews: (data) ->
-    options = rootId  :  data.id
-          
-    kd.singletons.socialapi.moderation.list options, (err, channels) =>
-      if err
-        console.log "no leaf channel found for #{data.id}, #{data.name}"
-      @listLeafChannels channels
-      if channels.length > 0
-        @removeButton.show()
-        @removeLabel.show()
-      
-      
-  listLeafChannels: (channels) ->
-    
-    @leafChannelsListController.hideLazyLoader()
-    return  unless channels?.length
-
-    
-    @leafSkip += channels.length
-
-    for channel in channels
-      @leafChannelsListController.addItem channel
-
-    @leafChannelsListController.hideLazyLoader()
-    if @leafChannelsListController.getItemCount() > 0
-      @removeButton.show()
+
 
   createSettingsView:(data) ->
 
     @settings  = new KDCustomHTMLView
       cssClass : 'settings hidden'
     
-    if data.typeConstant is "topic"
+    if data.typeConstant is "topic" then @createAllTopicView(data) else @createDeletedTopicView(data)
+    
+    @createLeafChannelSetting(data)
+            
+    @createSimilarChannelSetting(data) 
+
+  createAllTopicView : (data) ->
       @settings.addSubView deleteButton = new KDButtonView
         cssClass : 'solid compact outline'
         title    : 'DELETE CHANNEL'

        spinnerOptions    :
          size            : width: 28

    #@listController.on 'LazyLoadThresholdReached', @bound 'fetchChannels'

  pistachio: ->
    data          = @getData()

KDListItemView         = kd.ListItemView
KDCustomHTMLView       = kd.CustomHTMLView
KDCheckBox             = kd.CheckBox
KDListViewController   = kd.ListViewController
KDHitEnterInputView    = kd.HitEnterInputView

TopicLeafItemView      = require './topicleafitemview'
SelectableItemView     = require './selectableitemview'

module.exports = class TopicItemView extends KDListItemView

