ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From srima...@apache.org
Subject ambari git commit: AMBARI-11603. Raw-mode tooltip-message doesn't contain units (Richard Zang via srimanth)
Date Tue, 02 Jun 2015 00:20:32 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk 7650c9867 -> aacda1fa3


AMBARI-11603. Raw-mode tooltip-message doesn't contain units (Richard Zang via srimanth)


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

Branch: refs/heads/trunk
Commit: aacda1fa3be825572549a156c14f94bd24d56665
Parents: 7650c98
Author: Srimanth Gunturi <sgunturi@hortonworks.com>
Authored: Mon Jun 1 17:20:09 2015 -0700
Committer: Srimanth Gunturi <sgunturi@hortonworks.com>
Committed: Mon Jun 1 17:20:15 2015 -0700

----------------------------------------------------------------------
 .../views/common/configs/widgets/slider_config_widget_view.js    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/aacda1fa/ambari-web/app/views/common/configs/widgets/slider_config_widget_view.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/common/configs/widgets/slider_config_widget_view.js b/ambari-web/app/views/common/configs/widgets/slider_config_widget_view.js
index 10a8443..d8bc02b 100644
--- a/ambari-web/app/views/common/configs/widgets/slider_config_widget_view.js
+++ b/ambari-web/app/views/common/configs/widgets/slider_config_widget_view.js
@@ -503,14 +503,14 @@ App.SliderConfigWidgetView = App.ConfigWidgetView.extend({
       if (this.get('config.stackConfigProperty.valueAttributes.minimum')) {
         var min = this.get('parseFunction')(this.get('config.stackConfigProperty.valueAttributes.minimum'));
         if (configValue < min) {
-          this.updateWarningsForCompatibilityWithWidget(Em.I18n.t('config.warnMessage.outOfBoundaries.less').format(min));
+          this.updateWarningsForCompatibilityWithWidget(Em.I18n.t('config.warnMessage.outOfBoundaries.less').format(min
+ this.get('unitLabel')));
           return false;
         }
       }
       if (this.get('config.stackConfigProperty.valueAttributes.maximum')) {
         var max = this.get('parseFunction')(this.get('config.stackConfigProperty.valueAttributes.maximum'));
         if (configValue > max) {
-          this.updateWarningsForCompatibilityWithWidget(Em.I18n.t('config.warnMessage.outOfBoundaries.greater').format(max));
+          this.updateWarningsForCompatibilityWithWidget(Em.I18n.t('config.warnMessage.outOfBoundaries.greater').format(max
+ this.get('unitLabel')));
           return false;
         }
       }


Mime
View raw message