Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ambari-web/app/styles/application.less
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion ambari-web/app/templates/main/service/menu_item.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
{{#if view.content.alertsCount}}
<span {{bindAttr class=":icon-circle view.hasCriticalAlerts:service-alerts-critical:service-alerts-warning"}}></span>
{{/if}}
<span {{bindAttr class=":menu-item-name view.content.workStatus" data-original-title="view.content.toolTipContent"}} rel="serviceHealthTooltip">
<span {{bindAttr class="view.isClientOnlyService:client-only-service :menu-item-name view.content.workStatus" data-original-title="view.content.toolTipContent"}} rel="serviceHealthTooltip">
{{unbound view.content.displayName}}
</span>
</a>
4 changes: 4 additions & 0 deletions ambari-web/app/views/main/menu.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'),
Expand Down