Repository: ambari
Updated Branches:
  refs/heads/trunk ec0769e04 -> 8ad29b5ae


AMBARI-5276 BG operations popup: Restart operation for host component should 
not have hostname (ababiichuk)


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

Branch: refs/heads/trunk
Commit: 8ad29b5aebb2f373fb4dd8299050a0a3a935db91
Parents: ec0769e
Author: aBabiichuk <ababiic...@cybervisiontech.com>
Authored: Mon Mar 31 16:01:55 2014 +0300
Committer: aBabiichuk <ababiic...@cybervisiontech.com>
Committed: Mon Mar 31 16:01:55 2014 +0300

----------------------------------------------------------------------
 ambari-web/app/controllers/main/host/details.js | 2 +-
 ambari-web/app/messages.js                      | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/8ad29b5a/ambari-web/app/controllers/main/host/details.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/main/host/details.js 
b/ambari-web/app/controllers/main/host/details.js
index c041622..dfa3710 100644
--- a/ambari-web/app/controllers/main/host/details.js
+++ b/ambari-web/app/controllers/main/host/details.js
@@ -372,7 +372,7 @@ App.MainHostDetailsController = Em.Controller.extend({
     var self = this;
     var component = event.context;
     App.showConfirmationPopup(function(){
-      batchUtils.restartHostComponents([component], 
Em.I18n.t('rollingrestart.context.selectedComponentOnSelectedHost').format(component.get('displayName'),
 self.get('content.hostName')));
+      batchUtils.restartHostComponents([component], 
Em.I18n.t('rollingrestart.context.selectedComponentOnSelectedHost').format(component.get('displayName')));
     });
   },
   /**

http://git-wip-us.apache.org/repos/asf/ambari/blob/8ad29b5a/ambari-web/app/messages.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/messages.js b/ambari-web/app/messages.js
index 5e550c5..a0d1109 100644
--- a/ambari-web/app/messages.js
+++ b/ambari-web/app/messages.js
@@ -1948,7 +1948,7 @@ Em.I18n.translations = {
   'rollingrestart.context.allClientsOnSelectedHost':'Restart all clients on 
{0}',
   'rollingrestart.context.allWithStaleConfigsOnSelectedHost':'Restart 
components with Stale Configs on {0}',
   'rollingrestart.context.allOnSelectedHost':'Restart all components on {0}',
-  'rollingrestart.context.selectedComponentOnSelectedHost':'Restart {0} on 
{1}',
+  'rollingrestart.context.selectedComponentOnSelectedHost':'Restart {0}',
   'rollingrestart.context.default':'Restart components',
 
   'rolling.command.context': 'Rolling set {0} to state "{1}" - batch {2} of 
{3}',

Reply via email to