You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ab...@apache.org on 2015/03/06 15:03:03 UTC
[2/2] ambari git commit: AMBARI-9960 Confusing UX: Restart All after
config change isn't really Restart All. (ababiichuk)
AMBARI-9960 Confusing UX: Restart All after config change isn't really Restart All. (ababiichuk)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/31a497f4
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/31a497f4
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/31a497f4
Branch: refs/heads/trunk
Commit: 31a497f4543ba8bfc18b901baef687fa62412461
Parents: 6c949f4
Author: aBabiichuk <ab...@cybervisiontech.com>
Authored: Fri Mar 6 12:15:16 2015 +0200
Committer: aBabiichuk <ab...@cybervisiontech.com>
Committed: Fri Mar 6 14:25:29 2015 +0200
----------------------------------------------------------------------
ambari-web/app/messages.js | 1 +
ambari-web/app/templates/main/service/info/configs.hbs | 2 +-
ambari-web/app/templates/main/service/info/summary.hbs | 2 +-
3 files changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/31a497f4/ambari-web/app/messages.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/messages.js b/ambari-web/app/messages.js
index 947881c..f273485 100644
--- a/ambari-web/app/messages.js
+++ b/ambari-web/app/messages.js
@@ -2418,6 +2418,7 @@ Em.I18n.translations = {
'rolling.nothingToDo.body': '{0} on selected hosts are already in selected state or in Maintenance Mode.',
'restart.service.all': 'Restart All',
+ 'restart.service.all.affected': 'Restart All Affected',
'restart.service.rest.context': 'Restart {0}s',
'menu.item.dashboard':'Dashboard',
http://git-wip-us.apache.org/repos/asf/ambari/blob/31a497f4/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 c898155..9f4c946 100644
--- a/ambari-web/app/templates/main/service/info/configs.hbs
+++ b/ambari-web/app/templates/main/service/info/configs.hbs
@@ -34,7 +34,7 @@
</button>
<ul class="dropdown-menu">
<li>
- <a href="#" {{action restartAllStaleConfigComponents target="controller"}}>{{t restart.service.all}}</a>
+ <a href="#" {{action restartAllStaleConfigComponents target="controller"}}>{{t restart.service.all.affected}}</a>
</li>
{{#if view.rollingRestartSlaveComponentName}}
<li>
http://git-wip-us.apache.org/repos/asf/ambari/blob/31a497f4/ambari-web/app/templates/main/service/info/summary.hbs
----------------------------------------------------------------------
diff --git a/ambari-web/app/templates/main/service/info/summary.hbs b/ambari-web/app/templates/main/service/info/summary.hbs
index a1ef193..ec27c32 100644
--- a/ambari-web/app/templates/main/service/info/summary.hbs
+++ b/ambari-web/app/templates/main/service/info/summary.hbs
@@ -31,7 +31,7 @@
<span class="caret"></span>
</button>
<ul class="dropdown-menu">
- <li><a href="#" {{action restartAllStaleConfigComponents target="view"}}>{{t restart.service.all}}</a></li>
+ <li><a href="#" {{action restartAllStaleConfigComponents target="view"}}>{{t restart.service.all.affected}}</a></li>
{{#if view.rollingRestartSlaveComponentName}}
<li>
<a href="#" {{action rollingRestartStaleConfigSlaveComponents view.rollingRestartSlaveComponentName target="view"}}>{{view.rollingRestartActionName}}</a>