Updated Branches: refs/heads/trunk c34ab731e -> a5141de3c
AMBARI-3022. Add host wizard's review page does not show installed services. (xiwang via yusaku) Project: http://git-wip-us.apache.org/repos/asf/incubator-ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ambari/commit/a5141de3 Tree: http://git-wip-us.apache.org/repos/asf/incubator-ambari/tree/a5141de3 Diff: http://git-wip-us.apache.org/repos/asf/incubator-ambari/diff/a5141de3 Branch: refs/heads/trunk Commit: a5141de3c3309417faae385ed0c25c54321ddf5d Parents: c34ab73 Author: Yusaku Sako <[email protected]> Authored: Wed Sep 4 09:48:18 2013 -0700 Committer: Yusaku Sako <[email protected]> Committed: Wed Sep 4 09:48:36 2013 -0700 ---------------------------------------------------------------------- ambari-web/app/templates/wizard/step8.hbs | 49 +++++++++++++------------- 1 file changed, 25 insertions(+), 24 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/a5141de3/ambari-web/app/templates/wizard/step8.hbs ---------------------------------------------------------------------- diff --git a/ambari-web/app/templates/wizard/step8.hbs b/ambari-web/app/templates/wizard/step8.hbs index 26d32ad..1e13645 100644 --- a/ambari-web/app/templates/wizard/step8.hbs +++ b/ambari-web/app/templates/wizard/step8.hbs @@ -29,33 +29,34 @@ {{/if}} <div id="step8-content" class="well pre-scrollable"> - <div id="printReview"> - <a class="btn btn-info pull-right" {{action printReview target="view"}}>{{t common.print}}</a> <br/> - </div> - <div id="step8-info"> - {{#each item in controller.clusterInfo}} - <p> - <b>{{item.display_name}}</b> : {{item.config_value}} - </p> - {{/each}} + <div id="printReview"> + <a class="btn btn-info pull-right" {{action printReview target="view"}}>{{t common.print}}</a> <br/> + </div> + <div id="step8-info"> + {{#each item in controller.clusterInfo}} + <p> + <b>{{item.display_name}}</b> : {{item.config_value}} + </p> + {{/each}} - <div> - <p><b>{{t menu.item.services}}</b></p> + <div> + {{#if controller.services.length}} + <p><b>{{t menu.item.services}}</b></p> {{#each controller.services}} - <div> - <ul><em><b>{{display_name}}</b></em> - - <div> - {{#each component in this.service_components}} - <ul><span class="text text-info">{{component.display_name }} - : </span>{{component.component_value}}</ul> - {{/each}} - </div> - </ul> - </div> + <div> + <ul><em><b>{{display_name}}</b></em> + <div> + {{#each component in this.service_components}} + <ul><span class="text text-info">{{component.display_name }} + : </span>{{component.component_value}}</ul> + {{/each}} + </div> + </ul> + </div> {{/each}} - </div> - </div> + {{/if}} + </div> + </div> </div> <div class="btn-area"> <a class="btn pull-left" {{bindAttr disabled="controller.isBackBtnDisabled"}} {{action back}}>← {{t common.back}}</a>
