Chris Hill-Scott
74b480d967
Mark agreement signed by Herefordshire council
2018-08-24 12:24:31 +01:00
Rebecca Law
2b08b84c9e
Merge branch 'master' into add-brand-type-to-email-branding
2018-08-24 11:09:31 +01:00
pyup-bot
18e41902fb
Update pyexcel-io from 0.5.8 to 0.5.9
2018-08-23 20:30:06 +01:00
Rebecca Law
f7f202b670
Fix the EmailBranding
2018-08-23 17:44:34 +01:00
Tom Byers
f2df914dc1
Merge pull request #2248 from alphagov/add-filter-to-branding-selection
...
Add filter to branding selection
2018-08-23 15:12:09 +01:00
Rebecca Law
34d938ce18
Add brand type to email branding.
...
Removed banner_colour and single_id_colour.
We only really need one colour now.
2018-08-23 14:21:41 +01:00
Chris Hill-Scott
d68cc68def
Make page title semi-consistent
...
We tend to use ‘Add’ rather than ‘Create’ in other places.
2018-08-23 09:52:50 +01:00
Chris Hill-Scott
9b9acfa291
Select a branding with a link, not form
...
Selecting a branding just takes you to a new page, it doesn’t change
any state.
Links are generally the way you go from one page to another on the web.
2018-08-23 09:52:50 +01:00
Chris Hill-Scott
1e28fe4ffd
Remove redundant argument
...
This `branding_dict` is not used in the Jinja template anywhere.
2018-08-23 09:51:33 +01:00
Chris Hill-Scott
0e7ed2b0cf
Put ‘add new’ button at top of page
...
One of the most frequent tasks done on this page is adding a new
branding.
Current to do this you have to:
- scroll to the bottom
- scan for the ‘Create a new email branding’ option that visually looks
just like all the other brandings
- submit a form
This commit makes change it to one clearly differentiated button at the
top of the page. This is consistent for how we let users add templates
and team members.
2018-08-23 09:49:23 +01:00
Tom Byers
7d6714ed68
Add live-search visibility test for conversations
...
It is only shown if the number of messages don't
fit onto the screen.
2018-08-22 19:03:52 +01:00
Tom Byers
3bc7c1c224
Add test for live-search on templates page
...
Includes addition of a mock for a list of
templates long enough to need a live-search.
2018-08-22 19:03:52 +01:00
Tom Byers
3b4c49a2c3
Add test helper to generate service templates
2018-08-22 19:03:52 +01:00
Tom Byers
cff43abfc6
Add live-search to /email-branding page
2018-08-22 19:03:46 +01:00
Tom Byers
3ea94128c6
Add live-search to set-email-branding page
2018-08-22 19:03:38 +01:00
Tom Byers
0015f086ea
Add test helper to mock email brandings
2018-08-22 18:25:02 +01:00
Tom Byers
47798b218c
Make live-search into a component
2018-08-22 17:42:04 +01:00
Chris Hill-Scott
71be0eaeb4
Merge pull request #2246 from alphagov/input-not-change
...
Fix colour preview not loading on page load
2018-08-22 16:57:02 +01:00
Chris Hill-Scott
3483490f03
Fix colour preview not loading on page load
...
The event was changed from `change` to `input`. The trigger was not updated accordingly.
2018-08-22 16:51:16 +01:00
Chris Hill-Scott
6193f049f5
Merge pull request #2242 from alphagov/colour-preview-refactor
...
Refactor hex colour preview Javascript
2018-08-22 16:38:10 +01:00
Chris Hill-Scott
b10f0747ae
Use input event not keyup
...
The `oninput` event is a more performant way to detect changes to a
textbox’s contents (compared to `onkeydown`, `onpaste`, etc).
It’s not supported in older browsers, but since this is a likely to be
used by platform admin users only that’s OK.
2018-08-22 16:31:05 +01:00
Chris Hill-Scott
6501105768
Refactor to not repeat lots of Jinja code
2018-08-22 16:31:05 +01:00
Chris Hill-Scott
b73e42650d
Refactor hex colour preview Javascript
...
This commit improves the code that previews a hex colour when setting up
or changing an email branding.
Specifically it:
- refactors the Javascript to conform to our patterns (module pattern,
preprocessed with Gulp)
- makes the code work when there are multiple colour previews on one
page
It also does some visual prettifying, because I couldn’t help myself…
2018-08-22 16:31:05 +01:00
Chris Hill-Scott
864e732c38
Merge pull request #2241 from alphagov/add-colours-and-domain-to-email-branding
...
New columns for email branding
2018-08-22 16:29:42 +01:00
Rebecca Law
473c8378fc
Created a method to decide which colour to pass into the notifications-utils method to preview the template.
...
Removed the ServiceCreateEmailBranding form - it is identical to the other form.
2018-08-22 12:56:08 +01:00
Chris Hill-Scott
6c8345045f
Merge pull request #2245 from alphagov/bump-utils-long-letters
...
Bump utils to show error message for long letters
2018-08-22 09:41:28 +01:00
Chris Hill-Scott
2ca2176f76
Merge pull request #2205 from alphagov/pyup-update-eventlet-0.22.1-to-0.24.1
...
Update eventlet to 0.24.1
2018-08-22 09:36:46 +01:00
Chris Hill-Scott
270a563fea
Bump utils to show error message for long letters
...
Brings in:
- [ ] https://github.com/alphagov/notifications-utils/pull/518
2018-08-22 09:32:34 +01:00
Chris Hill-Scott
b2d8937f94
Tweak wording
2018-08-21 15:19:26 +01:00
karlchillmaid
d8f5896f9d
Merge pull request #2243 from alphagov/reply-to_address_label_change
...
Rename 'reply-to address' in Settings
2018-08-21 10:23:43 +01:00
Chris Hill-Scott
0b86a12fdd
Tell people they can have their logo on letters
...
At the moment there’s nothing in Notify that says the logo on letter
templates can be changed from ‘HM Government’. While some people guess
that it’s possible, or are motivated enough to enquire, others might be
assuming that the branding can’t be changed (and thus deciding Notify
letters aren’t for them).
In the future we should make this process slicker (eg with a file
upload) but the easiest, quickest improvement to make for now is:
- let people know that the branding can be changed
- direct them to support if they do want to change it
2018-08-21 09:56:20 +01:00
Chris Hill-Scott
7530fbf731
Fix the tests and catch a few more examples
2018-08-20 18:05:46 +01:00
karlchillmaid
36e8a9b3cc
Corrected the page title
...
Corrected the page title to 'Data retention'
2018-08-20 16:59:35 +01:00
karlchillmaid
60f64ee5e5
'Email reply-to address' updated
...
Updated 'reply-to address' to include a hyphen
2018-08-20 16:50:56 +01:00
karlchillmaid
e18f1727d1
'Email reply-to addresses' updated
...
Updated 'reply-to address' to include a hyphen
2018-08-20 16:48:21 +01:00
karlchillmaid
2c635faf5f
'Email reply-to address' updated
...
Updated 'reply-to address' to include a hyphen
2018-08-20 16:46:28 +01:00
karlchillmaid
15ed2e624a
'Email reply-to address' updated
...
Updated 'reply-to address' to include a hyphen
2018-08-20 16:45:08 +01:00
karlchillmaid
fb717e6933
'Email reply-to address' updated
...
Updated 'reply-to address' to include a hyphen
2018-08-20 16:43:42 +01:00
karlchillmaid
abed956a5a
'Email reply-to address' label change
...
Updated 'reply-to address' to include a hyphen
2018-08-20 16:41:16 +01:00
Chris Hill-Scott
9e5ce87f58
Update eventlet from 0.22.1 to 0.24.1
2018-08-20 16:12:27 +01:00
Chris Hill-Scott
b8f41d5204
Merge pull request #2218 from alphagov/pyup-update-whitenoise-3.3.1-to-4.0
...
Update whitenoise to 4.0
2018-08-20 16:09:39 +01:00
Rebecca Law
3fda171f80
New columns for email branding
...
Added banner_colour, single_id_colour and domain to email branding view. Now able to set the fields.
However, the new fields are not being used yet.
2018-08-20 13:27:17 +01:00
Chris Hill-Scott
a3139cdb19
Merge pull request #2240 from fidejoseph/patch-1
...
Update email_domains.yml
2018-08-20 13:08:41 +01:00
fidejoseph
3fbe85cdf8
Update email_domains.yml
...
update: hscni.net
2018-08-20 12:14:03 +01:00
Chris Hill-Scott
752d79b89f
Merge pull request #2239 from alphagov/pyup-update-pytest-3.7.1-to-3.7.2
...
Update pytest to 3.7.2
2018-08-20 11:28:12 +01:00
Chris Hill-Scott
ba2c9fca5c
Merge pull request #2237 from alphagov/pyup-update-pyexcel-io-0.5.7-to-0.5.8
...
Update pyexcel-io to 0.5.8
2018-08-20 11:28:06 +01:00
Chris Hill-Scott
09aacbba0d
Freeze requirements
2018-08-20 11:25:31 +01:00
pyup-bot
49b79dc8ac
Update whitenoise from 3.3.1 to 4.0
2018-08-20 11:23:12 +01:00
Chris Hill-Scott
a62308b10f
Freeze requirements
2018-08-20 10:29:30 +01:00
pyup-bot
6071c98031
Update pyexcel-io from 0.5.7 to 0.5.8
2018-08-20 10:27:24 +01:00