       @div outlet: 'heading', class: 'panel-heading', =>
         @span outlet: 'name'
         @span outlet: 'version', class: 'label'
+        @span outlet: 'update', class: 'label label-info', 'Update Available'
         @div class: 'btn-group pull-right', =>
           @button outlet: 'defaultAction', class: 'btn btn-small btn-primary'
           @button outlet: 'dropdownButton', class: 'btn btn-small btn-primary dropdown-toggle', 'data-toggle': 'dropdown', =>


  updatePackageState: ->
    @disabled = atom.isPackageDisabled(@pack.name)
    @bundled = false
    loadedPackage = atom.getLoadedPackage(@pack.name)
    packagePath = loadedPackage?.path ? atom.resolvePackagePath(@pack.name)

        try
          version = Package.loadMetadata(@pack.name).version
      @updateAvailable = semver.gt(@pack.version, version)

    if @updateAvailable
      @update.show()
    else
      @update.hide()

  updateEnabledState: ->
    enableLink = @enableToggle.find('a')
