You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by al...@apache.org on 2014/08/04 11:34:04 UTC

git commit: AMBARI-6725. Rename 'Metrics' section of services to '{service-name} Service Metrics' (alexantonenko)

Repository: ambari
Updated Branches:
  refs/heads/trunk d1e083ea2 -> 9d665447e


AMBARI-6725. Rename 'Metrics' section of services to '{service-name} Service Metrics' (alexantonenko)


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

Branch: refs/heads/trunk
Commit: 9d665447e1787130149f58ea92fd5974a49595bd
Parents: d1e083e
Author: Alex Antonenko <hi...@gmail.com>
Authored: Mon Aug 4 12:11:31 2014 +0300
Committer: Alex Antonenko <hi...@gmail.com>
Committed: Mon Aug 4 12:11:31 2014 +0300

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


http://git-wip-us.apache.org/repos/asf/ambari/blob/9d665447/ambari-web/app/messages.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/messages.js b/ambari-web/app/messages.js
index e2f0b56..42724d3 100644
--- a/ambari-web/app/messages.js
+++ b/ambari-web/app/messages.js
@@ -1117,6 +1117,7 @@ Em.I18n.translations = {
 
   'services.service.start':'Start',
   'services.service.stop':'Stop',
+  'services.service.metrics':'Service Metrics',
   'services.nothingToAdd':'Nothing to add',
   'services.service.summary.version':'Version',
   'services.service.summary.viewHost':'View Host',

http://git-wip-us.apache.org/repos/asf/ambari/blob/9d665447/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 0f04649..88225b8 100644
--- a/ambari-web/app/templates/main/service/info/summary.hbs
+++ b/ambari-web/app/templates/main/service/info/summary.hbs
@@ -110,7 +110,7 @@
   <div class="span12">
     <div class="box">
       <div class="box-header">
-      <h4>{{controller.content.label}} {{t common.metrics}}</h4>
+      <h4>{{controller.content.displayName}} {{t services.service.metrics}}</h4>
         {{#if controller.isGangliaInstalled}}
           <div class="btn-group">
             {{#if App.router.clusterController.isGangliaUrlLoaded}}