Skip to content

Commit 2da2ab0

Browse files
authored
Merge branch 'main' into fix/CCM-8859-accessibility-text-logo
2 parents fa0170f + 42143e9 commit 2da2ab0

File tree

4 files changed

+8
-7
lines changed

4 files changed

+8
-7
lines changed

frontend/src/__tests__/components/organisms/__snapshots__/PreviewLetterTemplate.test.tsx.snap

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ exports[`PreviewLetterTemplate component matches snapshot 1`] = `
77
>
88
<a
99
class="nhsuk-back-link__link"
10-
href="/templates/manage-templates"
10+
href="/templates/message-templates"
1111
id="back-link"
1212
>
1313
<svg
@@ -144,7 +144,7 @@ exports[`PreviewLetterTemplate component matches snapshot 1`] = `
144144
</a>
145145
<p>
146146
<a
147-
href="/manage-templates"
147+
href="/message-templates"
148148
>
149149
Back to all templates
150150
</a>
@@ -162,7 +162,7 @@ exports[`PreviewLetterTemplate component matches snapshot when template status i
162162
>
163163
<a
164164
class="nhsuk-back-link__link"
165-
href="/templates/manage-templates"
165+
href="/templates/message-templates"
166166
id="back-link"
167167
>
168168
<svg
@@ -299,7 +299,7 @@ exports[`PreviewLetterTemplate component matches snapshot when template status i
299299
</a>
300300
<p>
301301
<a
302-
href="/manage-templates"
302+
href="/message-templates"
303303
>
304304
Back to all templates
305305
</a>

frontend/src/components/organisms/PreviewLetterTemplate/PreviewLetterTemplate.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export function PreviewLetterTemplate({
1717

1818
return (
1919
<>
20-
<BackLink href={`${basePath}/manage-templates`} id='back-link'>
20+
<BackLink href={`${basePath}/message-templates`} id='back-link'>
2121
{backLinkText}
2222
</BackLink>
2323
<NHSNotifyMain>
@@ -32,7 +32,7 @@ export function PreviewLetterTemplate({
3232
{buttonText}
3333
</NHSNotifyButton>
3434
<p>
35-
<Link href='/manage-templates'>{backLinkText}</Link>
35+
<Link href='/message-templates'>{backLinkText}</Link>
3636
</p>
3737
</div>
3838
</div>

infrastructure/terraform/components/acct/iam_policy_github_deploy_overload.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ data "aws_iam_policy_document" "github_deploy" {
4848
"ec2:ModifyVpc*",
4949
"ec2:ReleaseAddress",
5050
"ec2:Replace*",
51+
"ec2:Revoke*",
5152
]
5253
resources = ["*"]
5354
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
locals {
22
root_domain_name = "${var.environment}.${local.app.amplify["domain_name"]}"
3-
normalised_branch_name = lower(substr(join("", regexall("[a-zA-Z0-9-]+", var.branch_name)), 0, 25))
3+
normalised_branch_name = trimsuffix(lower(substr(join("", regexall("[a-zA-Z0-9-]+", var.branch_name)), 0, 25)),"-")
44
}

0 commit comments

Comments
 (0)