Browse Source

AMBARI-3742 HBase Links widget has "more" button out of bounds and looks broken when there are multiple masters. (ababiichuk)

aBabiichuk 11 years ago
parent
commit
ccf874f4aa

+ 0 - 1
ambari-web/app/messages.js

@@ -1185,7 +1185,6 @@ Em.I18n.translations = {
   /** services page constants **/
 
   'service.hbase.activeMaster': 'Active Master',
-  'service.hbase.passiveMasters': 'and {0} Standby Masters',
 
   'services.hive.client': 'Hive Client',
   'services.hive.clients': 'Hive Clients',

+ 0 - 3
ambari-web/app/templates/main/dashboard/widgets/hbase_links.hbs

@@ -28,9 +28,6 @@
           <td>
             {{#if view.activeMaster}}
               <a href="#" {{action showDetails view.activeMaster.host}}>{{t dashboard.services.hbase.masterServer}}</a>
-              {{#if view.passiveMasters.length}}
-                  {{view.passiveMasterOutput}}
-              {{/if}}
             {{else}}
               {{t dashboard.services.hbase.noMasterServer}}
             {{/if}}

+ 0 - 6
ambari-web/app/views/main/dashboard/service/hbase.js

@@ -62,12 +62,6 @@ App.MainDashboardServiceHbaseView = App.MainDashboardServiceView.extend({
     }.property("service.regionServers.length")
   }),
 
-  /**
-   * Formatted output for passive master components
-   */
-  passiveMasterOutput: function () {
-    return Em.I18n.t('service.hbase.passiveMasters').format(this.get('passiveMasters').length);
-  }.property('passiveMasters'),
   /**
    * One(!) active master component
    */

+ 0 - 6
ambari-web/app/views/main/dashboard/widgets/hbase_links.js

@@ -45,12 +45,6 @@ App.HBaseLinksView = App.LinkDashboardWidgetView.extend({
     }
     return [];
   }.property('masters'),
-  /**
-   * Formatted output for passive master components
-   */
-  passiveMasterOutput: function () {
-    return Em.I18n.t('service.hbase.passiveMasters').format(this.get('passiveMasters').length);
-  }.property('passiveMasters'),
   /**
    * One(!) active master component
    */