Commit Graph

3040 Commits

Author SHA1 Message Date
Chris Hill-Scott
7e3b7711bc Add standard back links to the support journey
Removes the non-standard, bottom of page back links where present.

Adds sticky footer to pages with long text boxes.
2019-10-17 13:44:04 +01:00
Pea Tyczynska
4b5a131072 Harmonise content of error message with the document laid out by our content designer 2019-10-16 13:02:11 +01:00
Pea Tyczynska
2ed1e382b4 Move letter length check to utils repo so template-preview can use it, too
Update requirements
2019-10-10 14:25:19 +01:00
Pea Tyczynska
12ec2870af Move letter too long banner message over from utils, also refactor 2019-10-09 16:03:47 +01:00
Pea Tyczynska
b42c7c4c9f Refactor page_count checks to avoid magic numbers 2019-10-09 16:03:47 +01:00
Pea Tyczynska
028d156dc7 Do not allow to send job of letters if letters longer than 10 pages 2019-10-09 16:03:47 +01:00
Pea Tyczynska
c690434b1f One off letter flow does not allow to send letter longer than 10 pages 2019-10-09 16:03:47 +01:00
Pea Tyczynska
579ae72abb Do not allow to send a letter template longer than 10 pages 2019-10-09 16:03:46 +01:00
Katie Smith
11543e15be Store all data about uploaded letters in the S3 metadata
We had been storing whether or not a file was valid in the S3 metadata,
but using the query string of the URL to store the original filename
and the page count. This meant that if you tried to view the preview
letter page without the query string you would see a `500`. It was
possible for this to happen if you were signed out of Notify while on
the preview page - you would be redirected back to the preview page but
without the query string, causing an error.
2019-10-08 15:34:00 +01:00
karlchillmaid
4d775719d2 Merge pull request #3126 from alphagov/add-letter-status
Add 'Printed' status for letters and update postage information

Discussed with @quis. This change is the first step towards a wider review of the letter statuses.
2019-10-03 15:09:44 +01:00
karlchillmaid
c281cd64a5 Merge pull request #3127 from alphagov/update-validation-errors
Update spreadsheet validation errors
2019-10-03 14:46:27 +01:00
Chris Hill-Scott
3d2f7c3fcf Refine error messages and fix tests
Removing the word ‘duplicate’ because:
- it suggests that the whole column is the same, which it might not be
- it suggests that having duplicate column names is a problem, which is
  only true in the case of recipient columns

Reverts back to saying the column names ‘need to’ match, because we feel
it’s more instructive.
2019-10-03 14:24:28 +01:00
Chris Hill-Scott
8b9cc5f4dc Merge pull request #3134 from alphagov/relative-dates-jobs
Use relative dates for jobs on dashboard
2019-10-02 16:19:44 +01:00
Chris Hill-Scott
48940f7705 Merge pull request #3128 from alphagov/increase-letter-prices
Increase letter prices
2019-10-01 08:53:10 +01:00
Chris Hill-Scott
79369c38c7 Use relative dates for jobs on dashboard
For scheduled files we say ‘sending today at 5:00pm’ or ‘sending
tomorrow at 11:00am’. But once we’ve started processing these files we
say ‘Sent 27 September at 5:00pm’. This makes it sound like 27 September
is not today.

This commit makes the dates shown on the dashboard consistent, by saying
‘today’ and ‘yesterday’ instead of absolute dates.
2019-09-27 13:20:13 +01:00
karlchillmaid
dd1ff2cbf4 Update button text 2019-09-27 12:03:10 +01:00
karlchillmaid
2e5b724adb Update error messages 2019-09-27 12:01:32 +01:00
Pete Herlihy
bdb4bceb57 Adding statement about compliance with NCSC Cloud Security Principles 2019-09-26 15:42:08 +01:00
Rebecca Law
d902ac3b44 Added the url for api docs.
Updated error message when js tests fail
2019-09-25 15:47:35 +01:00
karlchillmaid
7bdcf7414d Add 'link opens in new tab' explanation 2019-09-23 17:05:02 +01:00
karlchillmaid
fce4a36636 Update content 2019-09-23 17:01:59 +01:00
Chris Hill-Scott
767c7db48a Update app/templates/views/notifications/invalid_precompiled_letter.html 2019-09-23 13:22:29 +01:00
karlchillmaid
67647372f6 Update app/templates/views/service-settings/email-reply-to/_verify-updates.html
Prefer this option

Co-Authored-By: Chris Hill-Scott <me@quis.cc>
2019-09-23 13:22:29 +01:00
karlchillmaid
507d8542b8 Change could not to cannot 2019-09-23 13:22:29 +01:00
karlchillmaid
ab3bdaaa4d Change 'was not' to 'could not be'
Change 'was not' to 'could not be' – makes it sound more like there's a problem with the email address, and not a problem with the service.
2019-09-23 13:22:29 +01:00
karlchillmaid
89a609fb73 Replace haven't with have not 2019-09-23 13:22:28 +01:00
karlchillmaid
644686c3ce Replace haven't with have not 2019-09-23 13:22:27 +01:00
karlchillmaid
601078e06f Replace haven't with have not 2019-09-23 13:22:27 +01:00
karlchillmaid
bb1ad89357 Replace haven't with have not 2019-09-23 13:22:27 +01:00
karlchillmaid
c64f298820 Replace haven't with have not 2019-09-23 13:22:27 +01:00
karlchillmaid
0b0a303262 Replace haven't with have not 2019-09-23 13:22:27 +01:00
karlchillmaid
a8021fb965 Replace haven't with have not 2019-09-23 13:22:26 +01:00
karlchillmaid
f3dd497700 Replace haven't with have not 2019-09-23 13:22:26 +01:00
karlchillmaid
b7e9eb3d48 Replace hasn't with has not 2019-09-23 13:22:26 +01:00
karlchillmaid
03d70f5439 Replace aren't with are not 2019-09-23 13:22:26 +01:00
karlchillmaid
2387fcc8f1 Replace they've with they have 2019-09-23 13:22:17 +01:00
karlchillmaid
b27fd30d45 Replace wasn't with was not 2019-09-23 13:22:16 +01:00
karlchillmaid
90b8af63d5 Replace isn't with is not 2019-09-23 13:22:00 +01:00
karlchillmaid
73ce6eef83 Replace won't with will not 2019-09-23 13:22:00 +01:00
karlchillmaid
4c6f32df73 Replace won't with will not 2019-09-23 13:21:59 +01:00
karlchillmaid
2b0462f44f Replace won't with will not 2019-09-23 13:21:59 +01:00
karlchillmaid
5fea8739cd Replace won't with will not 2019-09-23 13:21:59 +01:00
karlchillmaid
c62f4ed706 Replace won't with will not 2019-09-23 13:21:59 +01:00
karlchillmaid
8811903040 Replace won't with will not 2019-09-23 13:21:59 +01:00
karlchillmaid
89ecee5d6f Replace don't with do not 2019-09-23 13:21:58 +01:00
karlchillmaid
6163b6f65f Replace don't with do not 2019-09-23 13:21:58 +01:00
karlchillmaid
fc4eb24795 Replace don't with do not 2019-09-23 13:21:58 +01:00
karlchillmaid
4f7d618d89 Update content to remove negative contraction 2019-09-23 13:21:58 +01:00
karlchillmaid
c96e29e1e8 Replace don't with do not 2019-09-23 13:21:58 +01:00
karlchillmaid
cc9bb476e5 Replace don't with do not 2019-09-23 13:21:57 +01:00