ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ababiic...@apache.org
Subject ambari git commit: AMBARI-18160 UI : Long HSI name goes out of the visual boundary created for HSI panel.. (ababiichuk)
Date Tue, 16 Aug 2016 13:34:58 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk a004067e6 -> e2fd231c0


AMBARI-18160 UI : Long HSI name goes out of the visual boundary created for HSI panel.. (ababiichuk)


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

Branch: refs/heads/trunk
Commit: e2fd231c0b4084bd4b152470dc472c541646e69b
Parents: a004067
Author: ababiichuk <ababiichuk@hortonworks.com>
Authored: Tue Aug 16 13:27:15 2016 +0300
Committer: ababiichuk <ababiichuk@hortonworks.com>
Committed: Tue Aug 16 16:34:35 2016 +0300

----------------------------------------------------------------------
 ambari-web/app/views/common/controls_view.js | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/e2fd231c/ambari-web/app/views/common/controls_view.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/common/controls_view.js b/ambari-web/app/views/common/controls_view.js
index 57b27c2..599071c 100644
--- a/ambari-web/app/views/common/controls_view.js
+++ b/ambari-web/app/views/common/controls_view.js
@@ -887,7 +887,9 @@ App.ServiceConfigLabelView = Ember.View.extend(App.ServiceConfigHostPopoverSuppo
   valueBinding: 'serviceConfig.value',
   unitBinding: 'serviceConfig.unit',
 
-  template: Ember.Handlebars.compile('<i>{{view.value}}&nbsp;{{view.unit}}</i>')
+  fullValue: Em.computed.format('{0} {1}', 'value', 'unit'),
+
+  template: Ember.Handlebars.compile('<i>{{formatWordBreak view.fullValue}}</i>')
 });
 
 /**


Mime
View raw message