Commit Graph

99 Commits

Author SHA1 Message Date
Chris Hill-Scott
4df99bd27f Don’t allow paragraphs without class attribute
All paragraphs should have class="govuk-body", or be otherwise
custom-styled. This commit adds some extra checks to our test fixture
that looks for paragraphs that don’t have any styling. Our test coverage
is pretty good, so this should check almost all pages, and prevent
regressions.

I’ve done this in such a way that it can be extended for other elements
(e.g. links) in the future.
2020-05-29 17:11:01 +01:00
karlchillmaid
08712bc7b9 Update file name 2020-05-20 16:07:35 +01:00
karlchillmaid
2e48535fd0 Update page title and header 2020-05-19 16:25:01 +01:00
karlchillmaid
b169d098a9 Move 'charities' section above 'public' section 2020-05-19 14:08:04 +01:00
karlchillmaid
acb3ee08b5 Move charities to its own section 2020-05-19 12:00:02 +01:00
Katie Smith
13650b7d4b Update error messages for letters that are too long
To specify the number of sheets as well as pages in case this is not
clear.
2020-04-09 11:03:07 +01:00
Chris Hill-Scott
971ecde37a Update list of organisation types
Adds emergency services to cover more than just fire and police (eg
coastguard).

Adds armed forces and GP practices for people who might not be sure that
they’re covered under MOD and the NHS respectively.
2020-03-26 14:55:51 +00:00
Chris Hill-Scott
41dd7a883b Add who’s its for page
We have a policy about how suppliers are allowed to use Notify. But we
don’t explain it anywhere. Which drives contact to our support form.

This commit that adds a new page that explains the policy.

I’ve moved the related content about who else can use Notify from the
get started page to this page as well, where it doesn’t need to sit in
a details element.
2020-03-26 14:55:51 +00:00
Chris Hill-Scott
f1a04d9b1e Show guidance on how to upload a letter
Once we’ve launched the feature we want the guidance to be discoverable.
2020-03-03 13:29:45 +00:00
karlchillmaid
d4f6be701b Merge pull request #3313 from alphagov/update-upload-a-letter-content
Update upload a letter content
2020-02-28 11:26:43 +00:00
karlchillmaid
117c18d3cf Update guidance 2020-02-27 16:27:30 +00:00
karlchillmaid
1fd0ead7e5 Update formatting 2020-02-27 16:24:56 +00:00
karlchillmaid
6f3cf91f1b Update content so it matches 3302
Update content so it matches the changes originally made in https://github.com/alphagov/notifications-admin/pull/3302
2020-02-27 16:24:13 +00:00
karlchillmaid
230d62ddd6 Update guidance page content 2020-02-27 13:36:33 +00:00
Tom Byers
efa892423a Fix issues raised on pull request
Includes:
- make 'remove team member' link, on edit member
  permissions page, destructive
- convert missed links on /features pages
- convert missed links on /using-notify/guidance and sub pages
- give links in browse-lists back their size and
  weight (needed for lists of live and trial
  services on Platform Admin)
- give links on Platform Admin inbound numbers
  page back their size and weight
- update links in JS tests
2020-02-25 10:52:03 +00:00
Tom Byers
5b306dde4d Revert "Convert all links to govuk frontend" 2020-02-24 11:56:38 +00:00
Tom Byers
97172cca30 Merge branch 'master' into convert-all-links-to-govuk-frontend 2020-02-24 10:12:58 +00:00
Chris Hill-Scott
75927a8d05 Fix links to current service pages from guidance
This wasn’t working because:
- macros don’t have access to `current_service` from within their scope
- there were no tests for this behaviour
2020-02-20 15:13:12 +00:00
Tom Byers
5459dd8c13 Fix issues raised on pull request
Includes:
- make 'remove team member' link, on edit member
  permissions page, destructive
- convert missed links on /features pages
- convert missed links on /using-notify/guidance and sub pages
- give links in browse-lists back their size and
  weight (needed for lists of live and trial
  services on Platform Admin)
- give links on Platform Admin inbound numbers
  page back their size and weight
- update links in JS tests
2020-02-20 09:19:06 +00:00
Chris Hill-Scott
46a4e1c612 Add a macro for generating current service links
This is a convenient way of being able to link into pages of the the app
from guidance. It handles the case where the current service is not
known, either because the user hasn’t chosen one, or because they’re not
signed in.

This commit also cleans up some unused Jinja imports.
2020-02-19 08:22:45 +00:00
karlchillmaid
f4e4de0d03 Fix settings links 2020-02-18 10:35:21 +00:00
karlchillmaid
2184f4c704 Simplify numbered list of instructions
Simplify numbered list of instructions and change file links
2020-02-14 14:09:32 +00:00
karlchillmaid
390fcc2269 Simplify numbered lists of instructions 2020-02-14 14:04:46 +00:00
karlchillmaid
29c8050bc4 Simplify numbered lists of instructions 2020-02-14 14:02:08 +00:00
karlchillmaid
f3c5d966f7 Simplify numbered lists of instructions 2020-02-14 13:59:54 +00:00
karlchillmaid
29c5412a8d Add filetypes to links 2020-02-13 13:06:54 +00:00
karlchillmaid
ce553317c6 Remove file types
Remove file types from links while I check the GOV.UK style guide
2020-02-12 15:01:17 +00:00
karlchillmaid
15aa876f4c Add anchor 2020-02-12 14:23:53 +00:00
karlchillmaid
8fb9668775 Add letter specification guidance
Add letter specification information to the guidance
2020-02-12 14:13:50 +00:00
karlchillmaid
0949fc6480 Update app/templates/views/guidance/edit-and-format-messages.html 2020-02-12 11:17:26 +00:00
karlchillmaid
f7e1e35dcb Remove commented-out content
Co-Authored-By: Tom Byers <tombaromba@gmail.com>
2020-02-06 16:06:00 +00:00
karlchillmaid
77590bb9d3 Remove commented-out content
Co-Authored-By: Tom Byers <tombaromba@gmail.com>
2020-02-06 16:05:32 +00:00
karlchillmaid
d646238a01 Remove commented-out content
Co-Authored-By: Tom Byers <tombaromba@gmail.com>
2020-02-06 16:03:48 +00:00
karlchillmaid
ccb783c43b Update app/templates/views/guidance/index.html
Co-Authored-By: Tom Byers <tombaromba@gmail.com>
2020-02-06 16:02:41 +00:00
karlchillmaid
ca5a92c682 Comment out 'Upload your own letters'
Comment out 'Upload your own letters'  because this feature is not available to all users yet.
2020-02-04 13:51:43 +00:00
karlchillmaid
fcf1494051 Update links - comment out Send messages 2020-02-03 15:04:48 +00:00
karlchillmaid
b0e539abba Fix </ol> tag 2020-02-03 14:25:28 +00:00
karlchillmaid
6d4d176039 Edit content 2020-02-03 13:29:58 +00:00
karlchillmaid
76f46e47d7 Update description 2020-02-03 13:26:02 +00:00
karlchillmaid
0d9f5b27cd Update description of clickable link text
Update description of clickable link text to make it clear we're talking about email. This is because we **do** hide URLs behind clickable link text on web pages.
2020-02-03 13:22:38 +00:00
karlchillmaid
6341c4adb3 Fix </b> tag 2020-02-03 13:11:41 +00:00
karlchillmaid
d9f9205e78 Add instruction 2020-02-03 13:09:55 +00:00
karlchillmaid
83bcd78e44 Delete 'name' from explanation 2020-02-03 13:05:37 +00:00
karlchillmaid
6843930d48 Update link headings 2020-02-03 13:02:55 +00:00
Tom Byers
a4ba99b748 Redo send_messages as create_and_send_messages
Reverts changes in the following commits:
- 1e8ba88b4d
- 133a62022c
- b76066dd76

These changes `main.create_and_send_messages` to
`main.send_messages` but this name was already
taken.

Further details on Github:

https://github.com/alphagov/notifications-admin/pull/3213#pullrequestreview-348548476
2020-01-27 11:51:24 +00:00
karlchillmaid
87e42cc4bb Revert filename
Reverts part of commit 1af5136f9c
2020-01-27 11:33:39 +00:00
karlchillmaid
f771e402a0 Fix <ol> tags 2020-01-27 09:15:38 +00:00
karlchillmaid
be09dee10d Fix sign in link 2020-01-27 09:06:28 +00:00
karlchillmaid
96b6d6e6ac Fix sign in link 2020-01-27 09:05:58 +00:00
karlchillmaid
40948af2fd Fix sign in links 2020-01-27 09:05:28 +00:00