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 2016/09/13 11:20:21 UTC

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

Repository: ambari
Updated Branches:
  refs/heads/branch-2.5 6c638b621 -> dceba2f8a


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/dceba2f8
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/dceba2f8
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/dceba2f8

Branch: refs/heads/branch-2.5
Commit: dceba2f8a308c34f290d1807d424bd5df205e12c
Parents: 6c638b6
Author: ababiichuk <ab...@hortonworks.com>
Authored: Tue Sep 13 14:19:57 2016 +0300
Committer: ababiichuk <ab...@hortonworks.com>
Committed: Tue Sep 13 14:19:57 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/dceba2f8/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 de7603f..e4b52cb 100644
--- a/ambari-web/app/views/common/controls_view.js
+++ b/ambari-web/app/views/common/controls_view.js
@@ -871,7 +871,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>')
 });
 
 /**