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

Staging < main #721

Merged
merged 2 commits into from
Aug 29, 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 @@ -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
Loading