     else
       revisionMessage = "You're currently using the latest revision."
 
-    {group, stackRevision} = stack
     @infoIcon     = new kd.CustomHTMLView
       cssClass    : 'info-icon'
       tooltip     :


    super options, data

    { machines, _revisionStatus } = stack = @getData()
    delegate = @getDelegate()

    @reinitButton = new kd.ButtonView
      cssClass    : if isKoding() then 'hidden' else ''
      icon        : yes
      iconOnly    : yes
      iconClass   : 'reinit'
      tooltip     :
        title     : 'Re-init Stack'
      callback    : ->
        ComputeController_UI.askFor 'reinitStack', {}, ->
          delegate.emit 'StackReinitRequested', stack

    addVMMenu = {}

    if isKoding()
      addVMMenu['Create Koding VM'] = callback: @generateMenuCallback 'koding'

    if checkFlag ['super-admin', 'super-digitalocean']
      addVMMenu['Add Your Own Machine']  = callback: @generateMenuCallback 'managed'


    @addVMButton  = new kd.ButtonView
      icon        : yes
      iconOnly    : yes
      iconClass   : 'add'
      cssClass    : 'add-vm-button'
      tooltip     :
        title     : 'Add new VM'
      callback    : =>
        @_menu = new kd.ContextMenu
          cssClass    : 'add-new-vm-menu'
          delegate    : @addVMButton
          y           : @addVMButton.getY() + 25
          x           : @addVMButton.getX() + @addVMButton.getWidth() / 2 - 120
          width       : 240
          arrow       :
            placement : 'top'
            margin    : -47
        , addVMMenu

    @warningIcon = new kd.CustomHTMLView
      cssClass   : 'warning-icon hidden'


    @infoIcon.hide()  if isKoding()


  pistachio: ->
    """
      {{> @title}}
      {{> @machinesList}}
      <div class="footer">
        <div class="icons">
          {{> @warningIcon}}
          {{> @infoIcon}}
        </div>
        <div class="button-container">
          {{> @reinitButton}}
          {{> @addManagedButton}}
          {{> @addVMButton}}
        </div>
      </div>
    """
