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/04/19 20:24:55 UTC

[ambari] branch trunk updated: AMBARI-23615 Header missing in Step2 Select hosts page in NN Federation Wizard. (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 94872ba  AMBARI-23615 Header missing in Step2 Select hosts page in NN Federation Wizard. (ababiichuk)
94872ba is described below

commit 94872baffa4861453a8ac68dd9591f47994a944b
Author: ababiichuk <ab...@hortonworks.com>
AuthorDate: Thu Apr 19 18:57:14 2018 +0300

    AMBARI-23615 Header missing in Step2 Select hosts page in NN Federation Wizard. (ababiichuk)
---
 ambari-web/app/messages.js                               | 1 +
 ambari-web/app/views/main/admin/federation/step2_view.js | 2 ++
 2 files changed, 3 insertions(+)

diff --git a/ambari-web/app/messages.js b/ambari-web/app/messages.js
index dce6f2b..b699e0d 100644
--- a/ambari-web/app/messages.js
+++ b/ambari-web/app/messages.js
@@ -1681,6 +1681,7 @@ Em.I18n.translations = {
   'admin.nameNodeFederation.wizard.step1.nameserviceid.existing':'Existing Nameservice ID',
   'admin.nameNodeFederation.wizard.step1.nameserviceid.error':'Must consist of letters, numbers, and hyphens. Cannot begin or end with a hyphen.',
   'admin.nameNodeFederation.wizard.step2.header': 'Select Hosts',
+  'admin.nameNodeFederation.wizard.step2.body': 'Select hosts running the NameNodes for {0}',
   'admin.nameNodeFederation.wizard.step3.header': 'Review',
   'admin.nameNodeFederation.wizard.step3.confirm.config.body': '<div class="alert alert-info">' +
     '<p><b>Review Configuration Changes.</b></p>' +
diff --git a/ambari-web/app/views/main/admin/federation/step2_view.js b/ambari-web/app/views/main/admin/federation/step2_view.js
index af68025..fd9442c 100644
--- a/ambari-web/app/views/main/admin/federation/step2_view.js
+++ b/ambari-web/app/views/main/admin/federation/step2_view.js
@@ -20,4 +20,6 @@
 var App = require('app');
 
 App.NameNodeFederationWizardStep2View = App.AssignMasterComponentsView.extend({
+  title: Em.I18n.t('admin.nameNodeFederation.wizard.step2.header'),
+  alertMessage: Em.computed.i18nFormat('admin.nameNodeFederation.wizard.step2.body', 'controller.content.nameServiceId')
 });

-- 
To stop receiving notification emails like this one, please contact
ababiichuk@apache.org.