 
       @section class: 'section', =>
         @form class: 'section-container package-detail-view', =>
-          @div outlet: 'updateArea', class: 'alert alert-success package-update', =>
-            @span outlet: 'updateLabel', class: 'icon icon-squirrel update-message'
-            @span outlet: 'updateLink', class: 'alert-link update-link icon icon-cloud-download', 'Install'
-
           @div class: 'container package-container', =>
             @div class: 'row', =>
               @subview 'packageCard', new PackageCard(pack.metadata, packageManager, onSettingsView: true)


      @loadPackage()
      @updateFileButtons()
      @updateArea.hide()
      @populate()

  handleButtonEvents: ->

    loadTime + activateTime

  installUpdate: ->
    return unless @availableVersion


    @packageManager.update @pack, @availableVersion, (error) =>
      if error?
        @errors.append(new ErrorView(@packageManager, error))

  checkForUpdate: ->
    return if atom.packages.isBundledPackage(@pack.name)


    @packageManager.getOutdated().then (packages) =>
      for pack in packages when pack.name is @pack.name
        if @packageManager.canUpgrade(@pack, pack.latestVersion)
          @availableVersion = pack.latestVersion

  # Even though the title of this view is hilariously "PackageDetailView",
  # the package might not be installed.
