Skip to content

Commit

Permalink
Merge pull request #721 from bitzesty/main
Browse files Browse the repository at this point in the history
Staging < main
  • Loading branch information
TheDancingClown authored Aug 29, 2024
2 parents 857d461 + ef573aa commit 7fa4bcd
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 7fa4bcd

Please sign in to comment.