Upload now uses package name and accordion.

This commit is contained in:
Gunther Brunner
2014-04-03 21:53:08 +09:00
parent 8584daaa71
commit 946ae16a45
4 changed files with 32 additions and 22 deletions

View File

@@ -20,21 +20,13 @@ module.exports = function UploadCtrl($scope, $rootScope, SettingsService, gettex
.then(function (result) {
$scope.$apply(function () {
result.manifest = manifest
console.log(manifest)
$scope.installation = result
})
})
})
}
$scope.progressMessage = function (code) {
return {
'pushing_app': gettext('Pushing app...'),
'installing_app': gettext('Installing app...'),
'launching_app': gettext('Launching activity...'),
'success': gettext('Installation complete'),
'fail': gettext('Installation failed')
}[code]
}
//
// $scope.installEnabled = true
// SettingsService.bind($scope, {