diff --git a/ambari-web/app/styles/application.less b/ambari-web/app/styles/application.less index e4189ee0613..e89e3fa80f8 100644 --- a/ambari-web/app/styles/application.less +++ b/ambari-web/app/styles/application.less @@ -1144,7 +1144,7 @@ a.services-menu-blocks{ margin-left: 4px; margin-right: 4px; } - .menu-item-name.INSTALLED { + .menu-item-name.INSTALLED:not(.client-only-service) { color: @health-status-red; } .menu-item-name.UNKNOWN { diff --git a/ambari-web/app/templates/main/service/menu_item.hbs b/ambari-web/app/templates/main/service/menu_item.hbs index 6d5bb5c8a06..8ccefcc60e1 100644 --- a/ambari-web/app/templates/main/service/menu_item.hbs +++ b/ambari-web/app/templates/main/service/menu_item.hbs @@ -23,7 +23,7 @@ {{#if view.content.alertsCount}} {{/if}} - + {{unbound view.content.displayName}} diff --git a/ambari-web/app/views/main/menu.js b/ambari-web/app/views/main/menu.js index 32c4f6f7c26..7efc543c8a3 100644 --- a/ambari-web/app/views/main/menu.js +++ b/ambari-web/app/views/main/menu.js @@ -216,6 +216,10 @@ App.SideNavServiceMenuView = Em.CollectionView.extend({ hasCriticalAlerts: Em.computed.alias('content.hasCriticalAlerts'), + isClientOnlyService : function(){ + return App.get('services.clientOnly').contains(this.get('content.serviceName')); + }.property('content.serviceName'), + isConfigurable: function () { return !App.get('services.noConfigTypes').contains(this.get('content.serviceName')); }.property('App.services.noConfigTypes','content.serviceName'),