karlchillmaid
dabc2b91f6
Create branding-and-customisation.html
2020-01-22 13:49:07 +00:00
karlchillmaid
7da98c3745
Create send-a-file-by-email.html
2020-01-22 13:49:07 +00:00
karlchillmaid
6f1f57cc22
Add {% endblock %}
2020-01-22 13:49:07 +00:00
karlchillmaid
5418958c16
Create create-and-send-messages.html
2020-01-22 13:49:07 +00:00
karlchillmaid
d6a8954304
Create edit-and-format-messages.html
2020-01-22 13:49:07 +00:00
karlchillmaid
9a61f3c56d
Update filename
2020-01-22 13:49:06 +00:00
karlchillmaid
b239b8cb13
Update path
2020-01-22 13:49:06 +00:00
karlchillmaid
830b1f5274
Update content
2020-01-22 13:49:06 +00:00
karlchillmaid
fef1a92cce
Create upload-a-letter.html
2020-01-22 13:49:06 +00:00
karlchillmaid
327673abfa
Update file name
2020-01-22 13:49:06 +00:00
karlchillmaid
bad465021b
Fix heading and content
2020-01-22 13:49:06 +00:00
karlchillmaid
95a92060c0
Remove alternative content
2020-01-22 13:49:05 +00:00
karlchillmaid
6741b5d55e
Add links to list
2020-01-22 13:49:05 +00:00
karlchillmaid
cf0d9c5821
Add bulk sending content
2020-01-22 13:49:05 +00:00
karlchillmaid
55e4393a81
Add anchor link
2020-01-22 13:49:05 +00:00
karlchillmaid
b4479c783b
Fix anchor link
2020-01-22 13:49:05 +00:00
karlchillmaid
d7711421d9
Add anchor link
2020-01-22 13:49:05 +00:00
karlchillmaid
b9ec7df023
Add anchor link
2020-01-22 13:48:24 +00:00
karlchillmaid
cb8166efa0
Correct anchor link
2020-01-22 13:48:24 +00:00
karlchillmaid
edc7a28a70
Add anchor links
2020-01-22 13:48:24 +00:00
karlchillmaid
c1f3f5c99e
Update links
2020-01-22 13:48:24 +00:00
karlchillmaid
4b598d463c
Add list of links
2020-01-22 13:48:24 +00:00
karlchillmaid
7b49a566c5
Update content
2020-01-22 13:48:23 +00:00
karlchillmaid
7057f79532
Update upload letters content
2020-01-22 13:48:23 +00:00
karlchillmaid
3bdcc0ec32
Update upload letters content
2020-01-22 13:48:23 +00:00
karlchillmaid
ebd91fabd2
Update sms sender content
2020-01-22 13:47:33 +00:00
karlchillmaid
747d60175e
Update branding content
2020-01-22 13:47:33 +00:00
karlchillmaid
c7c9d6c3de
Update reply-to address content
2020-01-22 13:47:32 +00:00
karlchillmaid
7068271f39
Update page title and content
2020-01-22 13:47:32 +00:00
karlchillmaid
bcf12a20b4
Update personalisation content
2020-01-22 13:47:31 +00:00
karlchillmaid
07306e948d
Add heading IDs
2020-01-22 13:47:31 +00:00
karlchillmaid
917687f567
Update title and h1
2020-01-22 13:47:30 +00:00
karlchillmaid
e43190b936
Create page and add content
2020-01-22 13:47:30 +00:00
Leo Hemsted
5bbbdc3cd9
fix xss with service letter contact blocks
...
service contact blocks contain new lines - and jinja2 normally ignores
newlines (as in it keeps them as new lines) - but we need to turn them
into `<br>` tags so that we can show the formatting that the user has
added. We were previously just doing `{{ block | nl2br | safe }}`. nl2br
turns the new lines into `<br>` tags, and then `safe` tells jinja that
it doesn't need to escape the html.
this causes issues if the user adds `<script>alert(1)</script>` to their
contact block (or some other evil xss hack), where that will get let
through due to the safe flag
To solve this, use `Markup(html='escape')` to sanitise any html, and
then convert new lines to <br>.
bump utils
another xss
2020-01-21 17:34:49 +00:00
Chris Hill-Scott
6ff9dac161
Merge pull request #3254 from alphagov/letter-validation-short-messages
...
Add separate messages for precompiled letters that have failed validation
2020-01-21 10:02:58 +00:00
Chris Hill-Scott
0202f73f9a
Remove job_status from allowed properties
...
We can’t guarantee it’s always present, so shouldn’t allow direct access
to it.
2020-01-20 16:47:09 +00:00
Tom Byers
1d9c5e5da9
Default the cookie banner to be hidden
...
It should only be shown if JS is available and the
cookieMessage JS finds consent has not been set.
2020-01-20 10:04:58 +00:00
karlchillmaid
c8f36683ed
Remove lead in line before table
2020-01-20 10:04:18 +00:00
Tom Byers
2d1a51cafb
Add captions to tables on cookies page
2020-01-20 10:04:18 +00:00
Tom Byers
c11f6c403a
Remove line-break from cookies page paragraph
2020-01-20 10:04:18 +00:00
karlchillmaid
16f3c1ad13
Update description of what the cookies do
...
Update description of what information the cookies capture
2020-01-20 10:04:18 +00:00
Tom Byers
24f18f914b
Change size and layout of cookie banner buttons
2020-01-20 10:04:08 +00:00
Tom Byers
4c532f24af
Remove unused argument from cookie_banner macro
2020-01-20 10:04:07 +00:00
Tom Byers
ac13d6a4f4
Make 'Hide' button identify as a link
...
It looks like a link so its semantics should
identify it as one.
This can effect users of speech recognition
software, in scenarios where they instruct it to
click an element which looks like one thing but
the software can only identify as something else.
2020-01-20 10:04:07 +00:00
karlchillmaid
a7876f4661
Update cookies content
2020-01-20 10:03:54 +00:00
karlchillmaid
24c418bfe6
Change 'we' to 'Notify'
...
Makes the meaning a bit clearer
2020-01-20 10:03:48 +00:00
karlchillmaid
b1e6841bb7
Replace negative contraction
...
Replace negative contraction.
GDS style guide: https://www.gov.uk/guidance/style-guide/a-to-z-of-gov-uk-style#contractions
2020-01-20 10:03:47 +00:00
Tom Byers
ff2e1dd921
Add hidden text to cookie banner buttons
...
Visual users get the context from the proximity to
the h2 but we need to provide this for others.
I've tried using `aria-describedby` to link them
to the h2 but this ends up making the h2 text the
button's description in the accessibility tree. In
Voiceover this means you only get that information
as extra context, announced a while after the
label if the VO cursor stays on the button.
We want all the information in the accessible
label so chose this approach instead.
2020-01-20 10:03:47 +00:00
Tom Byers
d37379fc68
Change banner content to just cover analytics
...
Follows discussions with @quis, @yahoopete and
@karlchillmaid.
2020-01-20 10:03:47 +00:00
Tom Byers
8a0d0a15a8
Hide cookie banner if no-js
...
Decided in discussions with @quis and @yahoopete
that users without JS available cannot
accept/reject analytics cookies so the banner has
no use.
2020-01-20 10:03:47 +00:00