Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix confirmation and invite to pay page default copy #4101

Merged
merged 2 commits into from
Dec 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,11 @@ export const Basic = {
## You will be contacted
- if there is anything missing from the information you have provided so far
- if any additional information is required
- to arrange a site visit, if required
- to inform you whether a certificate has been granted or not`,
- to arrange a site visit, if required`,
contactInfo: `
You can contact us at <em>[email protected]</em>
You can contact us at <em>ADD YOUR COUNCIL CONTACT</em>
<br/><br/>
What did you think of this service? Please give us your feedback using the link in the footer below.
<p><strong>What did you think of this service? Please give us your feedback on the next page.</strong></p>
`,
data: [],
},
Expand Down
5 changes: 2 additions & 3 deletions editor.planx.uk/src/@planx/components/Confirmation/Editor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,12 @@ export default function ConfirmationEditor(props: Props) {
<li>if there is anything missing from the information you have provided so far</li>
<li>if any additional information is required</li>
<li>to arrange a site visit, if required</li>
<li>to inform you whether a certificate has been granted or not</li>
</ul>`,
contactInfo:
props.node?.data?.contactInfo ||
`You can contact us at <em>[email protected]</em>
`You can contact us at <em>ADD YOUR COUNCIL CONTACT</em>
<br/><br/>
What did you think of this service? Please give us your feedback using the link in the footer below.`,
<p><strong>What did you think of this service? Please give us your feedback on the next page.</strong></p>`,
...parseNextSteps(props.node?.data),
},
onSubmit: (values) => {
Expand Down
1 change: 0 additions & 1 deletion editor.planx.uk/src/pages/Pay/InviteToPay.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ const InviteToPay: React.FC<PaymentRequest> = ({ createdAt }) => {
</li>
<li>if any additional information is required</li>
<li>to arrange a site visit, if required</li>
<li>to inform you whether a certificate has been granted or not</li>
</List>
<Divider sx={{ mt: 4 }} />
<Typography variant="h2" mt={4}>
Expand Down
Loading