mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-19 09:53:28 +02:00
Upload drop area improved.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
module.exports = function UploadCtrl($scope, $rootScope, SettingsService) {
|
||||
module.exports = function UploadCtrl($scope, $rootScope, SettingsService, gettext) {
|
||||
|
||||
$scope.installation = null
|
||||
|
||||
@@ -25,6 +25,16 @@ module.exports = function UploadCtrl($scope, $rootScope, SettingsService) {
|
||||
})
|
||||
})
|
||||
}
|
||||
|
||||
$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, {
|
||||
|
||||
Reference in New Issue
Block a user