Skip to content

Commit

Permalink
Merge pull request #720 from bitzesty/update-copy
Browse files Browse the repository at this point in the history
Update copy in submission banner and file upload message
  • Loading branch information
DaniBitZesty authored Aug 29, 2024
2 parents 9859107 + bfe6577 commit ef573aa
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ window.SupportLetters =

textContainer = parent.find('.support-letter-attachment-container')
textContainer.removeClass('govuk-!-display-none')
scanningText = '<p class="govuk-hint">(File uploaded and is being scanned for viruses. Preview available once the scan is complete.)</p>'
scanningText = '<p class="govuk-hint">(File uploaded and is being scanned for viruses. Preview available once the scan is complete. You may need to refresh this page.)</p>'
textContainer.prepend('<div class="support-letter-attachment-filename"><p class="govuk-body">' + filename + '</p>' + scanningText + '</div>')
hiddenInput = $("<input class='js-support-letter-attachment-id' type='hidden' name='#{$el.attr("name")}' value='#{data.result['id']}' />")
parent.append(hiddenInput)
Expand Down
2 changes: 1 addition & 1 deletion app/views/qae_form/confirm.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
article.group role="alert"
.govuk-panel.govuk-panel--confirmation
.govuk-panel__body
strong Nomination for the King's Award for Voluntary service was submitted.
strong Nomination for the King's Award for Voluntary Service was submitted.
br
p.govuk-body We have sent you an email confirming your submission.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
= item.try(:original_filename)
br
.govuk-hint
| (File uploaded and is being scanned for viruses. Preview available once the scan is complete.)
| (File uploaded and is being scanned for viruses. Preview available once the scan is complete. You may need to refresh this page.)
- elsif scan_results == "infected"
= item.try(:original_filename)
| has been blocked (virus detected), please upload another file.
Expand Down

0 comments on commit ef573aa

Please sign in to comment.