This is an automated email from the ASF dual-hosted git repository.
ishanbha pushed a commit to branch branch-feature-AMBARI-14714
in repository https://gitbox.apache.org/repos/asf/ambari.git
The following commit(s) were added to refs/heads/branch-feature-AMBARI-14714 by
this push:
new 422628f [AMBARI-24039] Quicklinks for HBASE are not displayed.
422628f is described below
commit 422628f24cf82adbc1107b3969da03fee2237f7d
Author: Ishan Bhatt <[email protected]>
AuthorDate: Tue Jun 5 11:29:21 2018 -0700
[AMBARI-24039] Quicklinks for HBASE are not displayed.
---
ambari-web/app/styles/application.less | 1 +
ambari-web/app/templates/main/service/service.hbs | 2 +-
ambari-web/app/views/common/quick_view_link_view.js | 4 +++-
3 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/ambari-web/app/styles/application.less
b/ambari-web/app/styles/application.less
index ef7fe9b..f13c5cd 100644
--- a/ambari-web/app/styles/application.less
+++ b/ambari-web/app/styles/application.less
@@ -2564,6 +2564,7 @@ a.abort-icon:hover {
}
}
.mpack-summary {
+ padding-bottom: 20px;
.col-md-2 {
top: 0;
}
diff --git a/ambari-web/app/templates/main/service/service.hbs
b/ambari-web/app/templates/main/service/service.hbs
index bcad6a8..517e9d7 100644
--- a/ambari-web/app/templates/main/service/service.hbs
+++ b/ambari-web/app/templates/main/service/service.hbs
@@ -20,7 +20,7 @@
<div class="summary-info">
<div class="row mpack-summary">
<div class="col-md-12">
- <div class="col-md-2">{{t common.mpack.short}}:</div>
+ <div class="col-md-2">{{t common.mpack.short}}</div>
<div class="col-md-10 main-info
summary-value">{{view.mpackVersion}}</div>
</div>
</div>
diff --git a/ambari-web/app/views/common/quick_view_link_view.js
b/ambari-web/app/views/common/quick_view_link_view.js
index d49d3b7..7508b52 100644
--- a/ambari-web/app/views/common/quick_view_link_view.js
+++ b/ambari-web/app/views/common/quick_view_link_view.js
@@ -175,12 +175,14 @@ App.QuickLinksView = Em.View.extend({
*/
loadQuickLinksConfigurations: function () {
var serviceName = this.get('content.serviceName');
+ let serviceStackName = App.StackService.find().findProperty('serviceName',
serviceName).get('stackName');
+ let serviceStackVersion =
App.StackService.find().findProperty('serviceName',
serviceName).get('stackVersion');
return App.ajax.send({
name: 'configs.quicklinksconfig',
sender: this,
data: {
serviceName: serviceName,
- stackVersionUrl: App.get('stackVersionURL')
+ stackVersionUrl: App.getStackVersionUrl(serviceStackName,
serviceStackVersion)
},
success: 'loadQuickLinksConfigSuccessCallback'
});
--
To stop receiving notification emails like this one, please contact
[email protected].