Skip to content

Commit

Permalink
Merge pull request #4086 from nationalarchives/TDRD-311-qa-fixes
Browse files Browse the repository at this point in the history
TDRD-311: QA fixes
  • Loading branch information
MarkKingsbury authored Aug 14, 2024
2 parents f31654a + 8e83050 commit 17393f9
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion app/views/judgment/judgmentHomepage.scala.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ <h1 class="govuk-heading-xl">@title</h1>

<h2 class="govuk-heading-m">If this is an update to an existing judgment or decision</h2>
<p class="govuk-body">You can use this service to transfer an update or revision to a previously transferred document.</p>
<p class="govuk-body">Transfer the document in the same way as any judgement or decision, by clicking "Start your transfer" above.</p>
<p class="govuk-body">Transfer the document in the same way as any judgment or decision, by clicking "Start your transfer" above.</p>
<p class="govuk-body">Once you have successfully completed the transfer you will need to email us. More information will be provided after the transfer.</p>
<h2 class="govuk-heading-m">Contact the publishing editors</h2>
<p class="govuk-body"><a href="mailto:@Messages("nationalArchives.judgmentsEmail")">@Messages("nationalArchives.judgmentsEmail")</a></p>
Expand Down
2 changes: 1 addition & 1 deletion app/views/judgment/judgmentUpload.scala.html
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ <h2 class="govuk-error-summary__title" id="error-summary-title">
'webkitdirectory' is specified. It just needs to be present to fix the Safari bug. *@
accept=".docx"
>
<p class="govuk-body drag-and-drop__hint-text">Drag and drop a single file here or</p>
<p class="govuk-body drag-and-drop__hint-text">Drag and drop a single file here or&nbsp;</p>
<label for="file-selection" class="govuk-button govuk-button--secondary drag-and-drop__button">
Choose file
</label>
Expand Down
2 changes: 1 addition & 1 deletion npm/test/upload-form-utils/html-for-upload-forms.ts
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ export const htmlForFileUploadForm = `
<input type="file" id="file-selection" name="files"
class="govuk-file-upload drag-and-drop__input" multiple
>
<p class="govuk-body drag-and-drop__hint-text">Drag and drop a single file here or</p>
<p class="govuk-body drag-and-drop__hint-text">Drag and drop a single file here or&nbsp;</p>
<label for="file-selection" class="govuk-button govuk-button--secondary drag-and-drop__button">
Choose file
</label>
Expand Down
2 changes: 1 addition & 1 deletion test/controllers/HomepageControllerSpec.scala
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ class HomepageControllerSpec extends FrontEndTestHelper {
pageAsString must include("""<form action="/judgment/homepage" method="POST" novalidate="">""")
pageAsString must include("""<h2 class="govuk-heading-m">If this is an update to an existing judgment or decision</h2>""")
pageAsString must include("""<p class="govuk-body">You can use this service to transfer an update or revision to a previously transferred document.</p>""")
pageAsString must include("""<p class="govuk-body">Transfer the document in the same way as any judgement or decision, by clicking "Start your transfer" above.</p>""")
pageAsString must include("""<p class="govuk-body">Transfer the document in the same way as any judgment or decision, by clicking "Start your transfer" above.</p>""")
pageAsString must include(
"""<p class="govuk-body">Once you have successfully completed the transfer you will need to email us. More information will be provided after the transfer.</p>"""
)
Expand Down
2 changes: 1 addition & 1 deletion test/controllers/UploadControllerSpec.scala
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ class UploadControllerSpec extends FrontEndTestHelper {
uploadPageAsString must include(
"""| accept=".docx"
| >
| <p class="govuk-body drag-and-drop__hint-text">Drag and drop a single file here or</p>
| <p class="govuk-body drag-and-drop__hint-text">Drag and drop a single file here or&nbsp;</p>
| <label for="file-selection" class="govuk-button govuk-button--secondary drag-and-drop__button">
| Choose file""".stripMargin
)
Expand Down

0 comments on commit 17393f9

Please sign in to comment.