You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by at...@apache.org on 2013/12/23 12:24:10 UTC

git commit: AMBARI-4151 Incorrect alignment for "Stop Components" and "Start Components" buttons on "Config" tab. (Mikhail Bayuk via atkach)

Updated Branches:
  refs/heads/trunk f14dc5e11 -> 4a9e95437


AMBARI-4151 Incorrect alignment for "Stop Components" and "Start Components" buttons on "Config" tab. (Mikhail Bayuk via atkach)


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

Branch: refs/heads/trunk
Commit: 4a9e9543766cf1d884f06d53c361ca596d71d04a
Parents: f14dc5e
Author: atkach <at...@hortonworks.com>
Authored: Mon Dec 23 13:24:03 2013 +0200
Committer: atkach <at...@hortonworks.com>
Committed: Mon Dec 23 13:24:03 2013 +0200

----------------------------------------------------------------------
 ambari-web/app/messages.js                             | 2 +-
 ambari-web/app/templates/main/service/info/configs.hbs | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/4a9e9543/ambari-web/app/messages.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/messages.js b/ambari-web/app/messages.js
index 92a0096..d14055a 100644
--- a/ambari-web/app/messages.js
+++ b/ambari-web/app/messages.js
@@ -1116,7 +1116,7 @@ Em.I18n.translations = {
   'services.service.config.saved':'Saved Configuration Changes',
   'services.service.config.notSaved':'Unable to Save Configuration Changes',
   'services.service.config.restartService.TooltipMessage':'<b>Restart Service</b><br>Stale configuration used by {0} components on {1} hosts:{2}',
-  'services.service.config.restartService.needToRestart':'<strong>Restart Required.</strong> ',
+  'services.service.config.restartService.needToRestart':'<strong>Restart Required:</strong> ',
   'services.service.config.restartService.needToRestartEnd':'should be restarted',
   'service.service.config.restartService.shouldBeRestarted':'{0} Requiring Restart',
   'services.service.config.saved.message':'Service configuration changes saved successfully.',

http://git-wip-us.apache.org/repos/asf/ambari/blob/4a9e9543/ambari-web/app/templates/main/service/info/configs.hbs
----------------------------------------------------------------------
diff --git a/ambari-web/app/templates/main/service/info/configs.hbs b/ambari-web/app/templates/main/service/info/configs.hbs
index 7a22102..b07acf5 100644
--- a/ambari-web/app/templates/main/service/info/configs.hbs
+++ b/ambari-web/app/templates/main/service/info/configs.hbs
@@ -23,7 +23,7 @@
         {{#if App.isAdmin}}
           <div>
             <div class="alert alert-warning clearfix">
-              <i class="icon-refresh"></i> {{{view.needToRestartMessage}}} {{t services.service.config.restartService.needToRestart}}  <a href="#" {{action showComponentsShouldBeRestarted target="controller"}}>{{view.componentsCount}} {{pluralize view.componentsCount singular="t:common.component" plural="t:common.components"}}</a> {{t on}} <a href="#" {{action showHostsShouldBeRestarted target="controller"}}>{{view.hostsCount}} {{pluralize view.hostsCount singular="t:common.host" plural="t:common.hosts"}}</a> {{t services.service.config.restartService.needToRestartEnd}}
+              <i class="icon-refresh"></i> {{{view.needToRestartMessage}}} {{t services.service.config.restartService.needToRestart}}  <a href="#" {{action showComponentsShouldBeRestarted target="controller"}}>{{view.componentsCount}} {{pluralize view.componentsCount singular="t:common.component" plural="t:common.components"}}</a> {{t on}} <a href="#" {{action showHostsShouldBeRestarted target="controller"}}>{{view.hostsCount}} {{pluralize view.hostsCount singular="t:common.host" plural="t:common.hosts"}}</a>
 
               <button {{bindAttr class=":btn :restart-components :pull-right view.startComponentsIsDisabled::btn-success view.startComponentsIsDisabled:disabled" }} {{action restartComponents target="controller"}}>
                 {{t hosts.host.details.needToRestart.startButton}}