-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
EPP-57 amendPath add some logic to render fields in summary page
- add confirm.html, - update fields in summary-data-section,js - add fields for the confirm summary page - add initial page path for this section in apps/epp-common/index.js
- Loading branch information
1 parent
7f78864
commit f19bcd9
Showing
6 changed files
with
80 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{{<partials-page}} | ||
{{$page-content}} | ||
<div> | ||
<p class="govuk-body">{{#t}}pages.confirm.paragraph{{/t}}</p> | ||
</div> | ||
<div> | ||
{{#rows}} | ||
{{> partials-summary-table}} | ||
{{/rows}} | ||
</div> | ||
{{/page-content}} | ||
{{/partials-page}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<div> | ||
<h2 class="section-header">{{section}}</h2> | ||
</div> | ||
<dl> | ||
{{#fields}} | ||
{{^omitFromSummary}} | ||
<div class="confirm-row"> | ||
{{#isSeparator}} | ||
{{/isSeparator}} | ||
{{^isSeparator}} | ||
<dt class="confirm-label">{{label}}</dt> | ||
<dd class="confirm-value" data-value="{{value}}">{{value}}</dd> | ||
{{^omitChangeLink}} | ||
{{#changeLink}} | ||
<dd><span><a class="govuk-link" href="{{changeLink}}" id="{{field}}-change-{{index}}">{{#t}}buttons.change{{/t}} <span class="visuallyhidden">{{changeLinkDescription}} from {{value}}</span></a></span></dd> | ||
{{/changeLink}} | ||
{{^changeLink}} | ||
<dd><span><a class="govuk-link" href="{{baseUrl}}{{step}}/edit#{{field}}" id="{{field}}-change">{{#t}}buttons.change{{/t}} <span class="visuallyhidden">{{changeLinkDescription}} from {{value}}</span></a></span></dd> | ||
{{/changeLink}} | ||
{{/omitChangeLink}} | ||
{{#omitChangeLink}} | ||
<dd> </dd> | ||
{{/omitChangeLink}} | ||
{{/isSeparator}} | ||
</div> | ||
{{/omitFromSummary}} | ||
{{/fields}} | ||
</dl> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters