瀏覽代碼

AMBARI-3456 Text of installation stage doesn't correspond to reality. (ababiichuk)

aBabiichuk 11 年之前
父節點
當前提交
446f86b210
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      ambari-web/app/controllers/wizard/step9_controller.js

+ 3 - 0
ambari-web/app/controllers/wizard/step9_controller.js

@@ -692,6 +692,9 @@ App.WizardStep9Controller = Em.Controller.extend({
         this.onInProgressPerHost(actionsPerHost, _host);  // current running action for a host
         totalProgress += self.progressPerHost(actionsPerHost, _host);
       }
+      if (_host.get('progress') == '33') {
+        _host.set('message', this.t('installer.step9.host.status.nothingToInstall'));
+      }
     }, this);
     totalProgress = Math.floor(totalProgress / this.hosts.length);
     this.set('progress', totalProgress.toString());