瀏覽代碼

AMBARI-1271. On Confirm Hosts page, add a link to show the Host Checks popup in the success message. (yusaku via srimanth)

git-svn-id: https://svn.apache.org/repos/asf/incubator/ambari/trunk@1439684 13f79535-47bb-0310-9956-ffa450edef68
Srimanth 12 年之前
父節點
當前提交
29870ecca6
共有 3 個文件被更改,包括 5 次插入0 次删除
  1. 3 0
      CHANGES.txt
  2. 1 0
      ambari-web/app/messages.js
  3. 1 0
      ambari-web/app/templates/wizard/step3.hbs

+ 3 - 0
CHANGES.txt

@@ -34,6 +34,9 @@ Trunk (unreleased changes):
 
  IMPROVEMENTS
 
+ AMBARI-1271. On Confirm Hosts page, add a link to show the Host Checks popup 
+ in the success message. (yusaku via srimanth)
+
  AMBARI-1193. If Install fails, allow user to go back to any previous step so 
  that the user can retry install with different configuration parameters.
  (yusaku via srimanth)

+ 1 - 0
ambari-web/app/messages.js

@@ -125,6 +125,7 @@ Em.I18n.translations = {
   'installer.step3.warnings.popup.header':'Host Checks',
   'installer.step3.warnings.description':'Some warnings were encountered while performing checks against the above hosts.',
   'installer.step3.warnings.linkText':'Click here to see the warnings.',
+  'installer.step3.noWarnings.linkText':'Click here to see the check results.',
   'installer.step3.warnings.noWarnings':'All host checks were successful.',
   'installer.step3.warnings.updateChecks.success':'Host Checks successfully updated',
   'installer.step3.warnings.updateChecks.failed':'Host Checks update failed',

+ 1 - 0
ambari-web/app/templates/wizard/step3.hbs

@@ -133,6 +133,7 @@
       {{else}}
       <div class="alert alert-success">
         {{t installer.step3.warnings.noWarnings}}
+        <a href="javascript:void(0)" {{action hostWarningsPopup warnings target="controller"}}>{{t installer.step3.noWarnings.linkText}}</a>
       </div>
       {{/if}}
     {{/if}}