Repository: ambari
Updated Branches:
  refs/heads/branch-2.4 12b1a0c80 -> a2e2f8e57


AMBARI-16985. "Wizard in progress" bar should not look clickable (akovalenko)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/a2e2f8e5
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/a2e2f8e5
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/a2e2f8e5

Branch: refs/heads/branch-2.4
Commit: a2e2f8e576053a218f1addf0bff7fbf3ee3d5883
Parents: 12b1a0c
Author: Aleksandr Kovalenko <[email protected]>
Authored: Wed Jun 1 16:51:10 2016 +0300
Committer: Aleksandr Kovalenko <[email protected]>
Committed: Wed Jun 1 23:58:01 2016 +0300

----------------------------------------------------------------------
 .../app/controllers/global/wizard_watcher_controller.js |  5 -----
 ambari-web/app/templates/application.hbs                | 12 +++++++-----
 2 files changed, 7 insertions(+), 10 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/a2e2f8e5/ambari-web/app/controllers/global/wizard_watcher_controller.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/global/wizard_watcher_controller.js 
b/ambari-web/app/controllers/global/wizard_watcher_controller.js
index 8332384..e2770fa 100644
--- a/ambari-web/app/controllers/global/wizard_watcher_controller.js
+++ b/ambari-web/app/controllers/global/wizard_watcher_controller.js
@@ -38,11 +38,6 @@ App.WizardWatcherController = 
Em.Controller.extend(App.UserPref, {
   controllerName: null,
 
   /**
-   * @type {Function}
-   */
-  mock: Em.K,
-
-  /**
    * define whether Wizard is running
    * @type {boolean}
    */

http://git-wip-us.apache.org/repos/asf/ambari/blob/a2e2f8e5/ambari-web/app/templates/application.hbs
----------------------------------------------------------------------
diff --git a/ambari-web/app/templates/application.hbs 
b/ambari-web/app/templates/application.hbs
index 49cb18a..9c17223 100644
--- a/ambari-web/app/templates/application.hbs
+++ b/ambari-web/app/templates/application.hbs
@@ -107,12 +107,14 @@
             <div class="span11">
               {{#if isExistingClusterDataLoaded}}
                 <p class="span4 offset4">
+                {{#if App.router.wizardWatcherController.isNonWizardUser}}
+                  <span class="brand cluster-name">
+                    <span class="label upgrade-in-progress">
+                      <i 
class="icon-cog"></i>&nbsp;{{App.router.wizardWatcherController.wizardDisplayName}}
+                    </span>
+                  </span>
+                {{/if}}
                 <a class="brand cluster-name" href="#">
-                  {{#if App.router.wizardWatcherController.isNonWizardUser}}
-                      <span class="label upgrade-in-progress" {{action "mock" 
target="App.router.wizardWatcherController"}}>
-                        <i 
class="icon-cog"></i>&nbsp;{{App.router.wizardWatcherController.wizardDisplayName}}
-                      </span>
-                  {{/if}}
                   {{#if App.upgradeInProgress}}
                     {{#if 
App.router.mainAdminStackAndUpgradeController.isDowngrade}}
                       <span

Reply via email to