From 4653253df149f3d479a5831f00af2eb2c55f5f09 Mon Sep 17 00:00:00 2001 From: Alex Antonenko Date: Tue, 16 Jan 2018 15:26:51 +0300 Subject: [PATCH] AMBARI-22793. Notification popover layout issues --- ambari-web/app/styles/application.less | 4 +++ .../main/alerts/alert_notifications_popup.hbs | 30 +++++++++---------- 2 files changed, 19 insertions(+), 15 deletions(-) diff --git a/ambari-web/app/styles/application.less b/ambari-web/app/styles/application.less index fa1dd932369..e4189ee0613 100644 --- a/ambari-web/app/styles/application.less +++ b/ambari-web/app/styles/application.less @@ -2596,4 +2596,8 @@ a.abort-icon:hover { padding: 10px; max-height: 120px; overflow: scroll; +} + +#notifications-dropdown.dropdown-menu .notifications-header .notifications-title { + line-height: 30px; } \ No newline at end of file diff --git a/ambari-web/app/templates/main/alerts/alert_notifications_popup.hbs b/ambari-web/app/templates/main/alerts/alert_notifications_popup.hbs index a5f2bf2ce73..67e214ae345 100644 --- a/ambari-web/app/templates/main/alerts/alert_notifications_popup.hbs +++ b/ambari-web/app/templates/main/alerts/alert_notifications_popup.hbs @@ -18,25 +18,25 @@
-
{{t alerts.dropdown.dialog.title}} ({{view.alertsNumber}})
+
{{t alerts.dropdown.dialog.title}} ({{view.alertsNumber}})
+ {{#if view.isLoaded}} +
+ {{t common.show}}:  +
+ {{view Ember.Select + contentBinding="view.categories" + optionValuePath="content.value" + optionLabelPath="content.label" + selectionBinding="view.selectedCategory" + classNames="filter-select form-control" + }} +
+
+ {{/if}}
{{#if view.isLoaded}} -
-
- {{t common.show}}:  -
- {{view Ember.Select - contentBinding="view.categories" - optionValuePath="content.value" - optionLabelPath="content.label" - selectionBinding="view.selectedCategory" - classNames="filter-select form-control" - }} -
-
-
{{#if view.isAlertEmptyList}}