Browse Source

AMBARI-3268. The help bubbles for conf. parameters on "Customize Services" page have confusing info. (onechiporenko)

Oleg Nechiporenko 12 years ago
parent
commit
0d44729171
1 changed files with 4 additions and 1 deletions
  1. 4 1
      ambari-web/app/views/wizard/controls_view.js

+ 4 - 1
ambari-web/app/views/wizard/controls_view.js

@@ -34,7 +34,10 @@ App.ServiceConfigPopoverSupport = Ember.Mixin.create({
   didInsertElement: function () {
     if (this.get('isPopoverEnabled') !== 'false') {
       App.popover(this.$(), {
-        title: Em.I18n.t('installer.controls.serviceConfigPopover.title').format(this.get('serviceConfig.displayName'), this.get('serviceConfig.name')),
+        title: Em.I18n.t('installer.controls.serviceConfigPopover.title').format(
+          this.get('serviceConfig.displayName'),
+          (this.get('serviceConfig.displayName') == this.get('serviceConfig.name'))?'':this.get('serviceConfig.name')
+        ),
         content: this.get('serviceConfig.description'),
         placement: 'right',
         trigger: 'hover'