Repository: ambari Updated Branches: refs/heads/trunk 34d029bf9 -> 77937e383
AMBARI-19728: Custom command name rendered incorrectly (dili) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/77937e38 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/77937e38 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/77937e38 Branch: refs/heads/trunk Commit: 77937e383d6ed0e582192e3a75913f60a32dc0eb Parents: 34d029b Author: Di Li <d...@apache.org> Authored: Fri Jan 27 11:19:29 2017 -0500 Committer: Di Li <d...@apache.org> Committed: Fri Jan 27 11:19:29 2017 -0500 ---------------------------------------------------------------------- ambari-web/app/utils/helper.js | 1 + ambari-web/test/utils/helper_test.js | 2 ++ 2 files changed, 3 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/77937e38/ambari-web/app/utils/helper.js ---------------------------------------------------------------------- diff --git a/ambari-web/app/utils/helper.js b/ambari-web/app/utils/helper.js index 927f8a6..f6f2532 100644 --- a/ambari-web/app/utils/helper.js +++ b/ambari-web/app/utils/helper.js @@ -592,6 +592,7 @@ App.format = { name = name.split(separator).map(function(singleName) { return this.normalizeName(singleName.toUpperCase()); }, this).join(' '); + break; } } return name.capitalize(); http://git-wip-us.apache.org/repos/asf/ambari/blob/77937e38/ambari-web/test/utils/helper_test.js ---------------------------------------------------------------------- diff --git a/ambari-web/test/utils/helper_test.js b/ambari-web/test/utils/helper_test.js index b438a7a..4b9ec36 100644 --- a/ambari-web/test/utils/helper_test.js +++ b/ambari-web/test/utils/helper_test.js @@ -298,6 +298,8 @@ describe('utils/helper', function() { 'app-timeline-server': 'App Timeline Server', 'APP TIMELINE SERVER': 'App Timeline Server', 'app timeline server': 'App Timeline Server', + 'run-hcat-sync': 'Run HCat Client Sync', + 'rUN_hCAt_syNc': 'Run HCat Client Sync', 'FALCON': 'Falcon', 'falcon': 'Falcon' };