Commit Graph

8488 Commits

Author SHA1 Message Date
Chris Hill-Scott
239e3079d1 Fix import sort order 2019-10-31 10:53:45 +00:00
Chris Hill-Scott
d298949a5a Style the page to look like the Pay one 2019-10-31 10:10:01 +00:00
Chris Hill-Scott
9b91132276 Test that static pages work w/out current_service
If you sign in, don’t choose a service then navigate to a state page
then it’s possible `current_service` won’t be set, in which case you
shouldn’t be generating URLs that need `current_service.id`.
2019-10-31 09:43:16 +00:00
karlchillmaid
fa72c35fce Update app/templates/views/get-started.html
Co-Authored-By: Chris Hill-Scott <me@quis.cc>
2019-10-31 08:40:25 +00:00
karlchillmaid
0b089bda32 Update settings content 2019-10-30 10:49:05 +00:00
karlchillmaid
b46716416a Update settings content 2019-10-21 08:16:43 +01:00
karlchillmaid
a4e1b74398 Update content 2019-10-18 09:24:02 +01:00
karlchillmaid
dfa979cdff Change 'process' to 'approve' 2019-10-17 16:51:41 +01:00
Chris Hill-Scott
b64336b5da Fix details/summary 2019-10-17 16:23:21 +01:00
Chris Hill-Scott
bc32315fbe Add endpoint for new page 2019-10-17 16:18:21 +01:00
Chris Hill-Scott
5494146401 Add HTML extension to template file 2019-10-17 16:17:09 +01:00
karlchillmaid
49163ef624 Update content 2019-10-17 16:16:42 +01:00
karlchillmaid
9a097386a1 Change 'sign' to 'accept'
Change 'sign' to 'accept' – because users can now accept online
2019-10-17 16:06:48 +01:00
karlchillmaid
13f704993c Change 'set up' to 'add'
For consistency
2019-10-17 15:31:23 +01:00
karlchillmaid
cb4bb9d4c4 Change 'set up' to 'add'
'Add' matches the buttons users will see in Notify
2019-10-17 15:28:49 +01:00
karlchillmaid
8696ceb43f Change 'set up' to 'add'
'Add' matches the buttons users will see in the service.
2019-10-17 15:25:31 +01:00
karlchillmaid
cd34e18604 Update content 2019-10-17 15:22:49 +01:00
karlchillmaid
9234b8830c Add ids to headings, add branding information
The ids are not needed for the first iteration of the Get started page, but we'll start using them as we add and iterate guidance and features content.

We should mention letter branding as a feature.
2019-10-16 13:58:15 +01:00
karlchillmaid
2e392aa9e3 Add ids to headings
These are not needed for the first iteration of the Get started page, but we'll start using them as we add and iterate guidance and features content.
2019-10-16 13:52:20 +01:00
karlchillmaid
8492f3f806 Add ids to headings 2019-10-16 13:50:37 +01:00
karlchillmaid
52b5936912 Add links to account pages 2019-10-16 12:08:45 +01:00
karlchillmaid
84b5f8e690 Update h1 2019-10-16 10:59:08 +01:00
karlchillmaid
07358f27b7 Fix if statements
Swap content round so the if statement works properly.
2019-10-16 10:44:07 +01:00
karlchillmaid
8c782b040a Add links 2019-10-16 10:35:39 +01:00
karlchillmaid
541a023708 Add ids to remaining H2s
These are not needed for the first iteration of the Get started page, but we'll start using them as we add and iterate guidance and features content.
2019-10-16 10:23:39 +01:00
karlchillmaid
26aa3d32d6 Add id to Permissions h2 2019-10-16 10:20:51 +01:00
karlchillmaid
50bb0764c9 Add anchor to h2 2019-10-16 10:19:32 +01:00
karlchillmaid
7764a1b440 Add anchor to h3 2019-10-16 10:17:52 +01:00
karlchillmaid
c781a7c07a Fix smart quotes 2019-10-16 08:56:44 +01:00
karlchillmaid
78f44e2433 Update content 2019-10-15 17:09:12 +01:00
karlchillmaid
feae9ebcdd Add draft content 2019-10-15 11:38:30 +01:00
karlchillmaid
0a355d7089 Create Get started page 2019-10-15 09:39:24 +01:00
Chris Hill-Scott
1cfb42c1e1 Merge pull request #3142 from alphagov/fix-email-branding-request-textbox-only
Fix email branding request page with only textbox
2019-10-09 17:10:32 +01:00
Chris Hill-Scott
7f033efc28 Fix email branding request page with only textbox
If there aren’t a range of options (normally presented as radio buttons)
to show the user on the email branding request page then we just show
the textbox. But we were still doing form validation on the radio
buttons, even though the user couldn’t see them to click them. This
stopped the user from being able to submit the form.

This commit fixes the problem by, in this specific case, pre-ticking the
‘Something else’ radio button.
2019-10-09 16:42:30 +01:00
Tom Byers
94f0084b94 Merge pull request #3141 from alphagov/add-govuk-frontend-jinja-extension
Add GOVUK Frontend Jinja Flask extension
2019-10-09 14:51:22 +01:00
Katie Smith
6aa52cd5d9 Merge pull request #3140 from alphagov/store-upload-details-in-metadata
Store all data about uploaded letters in the S3 metadata
2019-10-08 16:07:50 +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
Pea (Malgorzata Tyczynska)
28c901d5b9 Merge pull request #3130 from alphagov/notification-coubt
Get notification count from api instead of getting list of notifications from api
2019-10-08 12:19:55 +01:00
Tom Byers
f6a0026d67 Add extension initialisation in app init 2019-10-07 16:35:56 +01:00
Tom Byers
5321685a87 Add GOVUK Frontend NPM module
The GOVUK Frontend Jinja extension adds this as an
extra location to source templates from.
2019-10-07 13:12:26 +01:00
Tom Byers
3204200fc2 Add GOVUK Frontend Jinja extension 2019-10-07 13:12:26 +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
99851dbce7 Merge pull request #3136 from alphagov/drop-services-cache-when-updating-organisation-branding
Clear service cache for when updating org branding
2019-10-03 13:06:49 +01:00
Chris Hill-Scott
78e57dbff9 Clear service cache for when updating org branding
Updating an organisation’s branding might now also update the branding
of services associated to that organisation. This is similar to how
updating an organisation’s type can update the organisation type for its
services.

In the latter case we already make sure to clear the cached version of
these services which is held in Redis.

This commit does the same clearing of the caches when updating an
organisation’s branding (and does a bit of refactoring to do so without
duplication of code.)
2019-10-03 12:10:53 +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
Tom Byers
124801836b Merge pull request #3053 from alphagov/add-js-tests-for-template-folder-form
Add js tests for template folder form
2019-10-02 10:21:55 +01:00
Tom Byers
0543dca23d Improve description of cancel link tests 2019-10-01 14:19:06 +01:00
Tom Byers
b6b1e7682b Rename the 'clear selection' link
In response to the sensible comments here:

https://github.com/alphagov/notifications-admin/pull/3053#discussion_r329957545
2019-10-01 14:10:22 +01:00