webadmin: add more installation states

This commit is contained in:
Johannes Zellner
2014-08-11 17:13:58 -07:00
parent 0abc418ea0
commit 2a852d4ad3
+7
View File
@@ -76,9 +76,16 @@ app.filter('installationActive', function() {
app.filter('installationStateLabel', function() {
return function(input) {
if (input === 'error') return 'Error';
if (input === 'subdomain_error') return 'Error';
if (input === 'installed') return 'Installed';
if (input === 'downloading_image') return 'Downloading';
if (input === 'pending_install') return 'Installing';
if (input === 'pending_uninstall') return 'Uninstalling';
if (input === 'creating_container') return 'Container';
if (input === 'downloading_manifest') return 'Manifest';
if (input === 'creating_volume') return 'Volume';
if (input === 'registering_subdomain') return 'Subdomain';
return input;
};
});