 UpdateStackModal = require './update_stack_modal'
 AppsCollection = require '../collections/application'
 
+
 module.exports = class ConfigApplicationsView extends BaseView
     id: 'config-applications-view'
     template: require 'templates/config_applications'

        @stackApps.fetch reset: true
        @displayDevices()
        @stackApplications = new StackApplication

    openUpdatePopover: (slug) ->
        @applicationList.openUpdatePopover slug

    displayStackVersion: =>
        for app in @stackApps.models

        @memoryFree = @$ '.memory-free'
        @diskSpace = @$ '.disk-space'
        @updateBtn = new ColorButton  @$ '.update-all'
        @rebootStackBtn = new ColorButton  @$ '.reboot-stack'
        @fetch()
        @applicationList = new ConfigApplicationList @apps, @market
