You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ab...@apache.org on 2018/05/02 17:16:39 UTC
[ambari] branch trunk updated: AMBARI-23739 Namespace names are
converted to uppercase after selecting from dropdown. (ababiichuk)
This is an automated email from the ASF dual-hosted git repository.
ababiichuk pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ambari.git
The following commit(s) were added to refs/heads/trunk by this push:
new 751df8d AMBARI-23739 Namespace names are converted to uppercase after selecting from dropdown. (ababiichuk)
751df8d is described below
commit 751df8dc973f8359e2b77265243e8c5dadeaf88e
Author: ababiichuk <ab...@hortonworks.com>
AuthorDate: Wed May 2 16:25:58 2018 +0300
AMBARI-23739 Namespace names are converted to uppercase after selecting from dropdown. (ababiichuk)
---
ambari-web/app/templates/main/dashboard/widgets.hbs | 14 ++++++++------
ambari-web/app/templates/main/service/info/metrics.hbs | 4 ++--
2 files changed, 10 insertions(+), 8 deletions(-)
diff --git a/ambari-web/app/templates/main/dashboard/widgets.hbs b/ambari-web/app/templates/main/dashboard/widgets.hbs
index f77c3dd..34d028c 100644
--- a/ambari-web/app/templates/main/dashboard/widgets.hbs
+++ b/ambari-web/app/templates/main/dashboard/widgets.hbs
@@ -60,13 +60,15 @@
<div class="col-md-6">
<h5 class="widgets-group-title">{{group.title}}</h5>
{{#if group.subGroups.length}}
- <div class="btn-group">
+ <div class="btn-group dropdown">
<button class="btn btn-default dropdown-toggle" data-toggle="dropdown">
- {{#if group.activeSubGroup}}
- {{group.activeSubGroup.title}}
- {{else}}
- {{t common.all}}
- {{/if}}
+ <span class="selected-item">
+ {{#if group.activeSubGroup}}
+ {{group.activeSubGroup.title}}
+ {{else}}
+ {{t common.all}}
+ {{/if}}
+ </span>
<span class="caret"></span>
</button>
<ul class="dropdown-menu">
diff --git a/ambari-web/app/templates/main/service/info/metrics.hbs b/ambari-web/app/templates/main/service/info/metrics.hbs
index 97b93d5..3afecc3 100644
--- a/ambari-web/app/templates/main/service/info/metrics.hbs
+++ b/ambari-web/app/templates/main/service/info/metrics.hbs
@@ -100,9 +100,9 @@
{{#if controller.selectedNSWidgetLayout}}
<div class="widgets-group-select-wrapper">
<h5 class="widgets-group-title">{{t dashboard.widgets.nameSpace}}</h5>
- <div class="btn-group">
+ <div class="btn-group dropdown">
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
- {{controller.selectedNSWidgetLayout.displayName}}
+ <span class="selected-item">{{controller.selectedNSWidgetLayout.displayName}}</span>
<span class="caret"></span>
</button>
<ul class="dropdown-menu">
--
To stop receiving notification emails like this one, please contact
ababiichuk@apache.org.