       stackId={stack.getId()} />
 
 
+  renderEmpty: (sectionIndex) ->
+
+    debug 'render empty section'
+
+    <SidebarNoStacks
+      hasTemplate={!!@props.resources.length}
+      hasPermission={canCreateStacks()} />
+
+
   render: ->
 
     <div className='SidebarTeamSection'>

List = require 'app/components/list'
Link = require 'app/components/common/link'

SidebarMachineItem = require './machineitemcontainer'
OwnedResourceHeader = require './ownedresourceheader'

MENU = null


        rowClassName='SidebarSection-body'
        numberOfSections={@bound 'getSectionCount'}
        renderSectionHeaderAtIndex={@bound 'renderSectionHeaderAtIndex'}
        renderEmpty={@bound 'renderEmpty'}
        numberOfRowsInSection={@bound 'getRowCount'}
        renderRowAtIndex={@bound 'renderRowAtIndex'}
      />
