Commit Graph

7655 Commits

Author SHA1 Message Date
Tom Byers
2aaf38da31 Merge pull request #2920 from alphagov/remove-use-of-spread-operator
Remove use of spread operator
2019-04-17 14:45:26 +01:00
Tom Byers
b3d73030ee Remove use of spread operator
This is a temporary fix for the fact that the
babel plugin for the spread operator calls a
function called `_iterableToArray` which assumes
the JavaScript runtime supports Symbols.

IE11 doesn't support Symbols so this causes an
error when it runs our JS.

This swaps out use of the spread operator for a
use of
[apply](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/apply)
to unpack the `arguments` object.

Related issue on babel:

https://github.com/babel/babel/issues/7597
2019-04-17 12:40:49 +01:00
karlchillmaid
66aba1444a Merge pull request #2919 from alphagov/features-footer-corrections
Corrections to new features and footer content
2019-04-16 17:08:59 +01:00
Chris Hill-Scott
b895bbe4a4 Merge pull request #2901 from alphagov/delete-domains-munger
Delete domains.py
2019-04-16 16:59:16 +01:00
Chris Hill-Scott
39c4740d03 Fix links to support 2019-04-16 16:51:28 +01:00
karlchillmaid
50747d190e Correct apostrophes 2019-04-16 16:49:36 +01:00
karlchillmaid
d37a3557c4 Correct apostrophe, add VAT 2019-04-16 16:47:52 +01:00
karlchillmaid
43f23046d5 Correct apostrophe 2019-04-16 16:46:44 +01:00
karlchillmaid
fccab8103c Correct link, apostrophe and contraction 2019-04-16 16:44:35 +01:00
Chris Hill-Scott
ad7d5c964f Merge pull request #2918 from alphagov/remove-pricing-org-model
Remove pricing stuff from organisation model
2019-04-16 15:56:55 +01:00
Chris Hill-Scott
3e969280fc Remove pricing stuff from organisation model
We’re not linking to the agreement from the pricing page any more, so we don’t need to talk about whether an organisation has signed it or not.
2019-04-16 15:45:36 +01:00
karlchillmaid
f3a2e695fb Merge pull request #2858 from alphagov/features-content-updates
Update features and footer content and answer some common support questions.
2019-04-16 15:42:51 +01:00
Chris Hill-Scott
f05e5af6d8 Update footer to reflect new features navigation" 2019-04-16 15:22:37 +01:00
Chris Hill-Scott
1f0195c1d1 Remove ‘using notify’ from nav (it’s a redirect now) 2019-04-16 15:20:00 +01:00
Chris Hill-Scott
0303d6a018 Indent sub navigation items 2019-04-16 15:19:28 +01:00
karlchillmaid
6366417568 Merge pull request #2914 from alphagov/correct-time-formatting
Correct time formatting
2019-04-16 15:07:04 +01:00
Chris Hill-Scott
ae403c5b5a Update app/templates/views/trial-mode.html
Co-Authored-By: karlchillmaid <karl.chillmaid@digital.cabinet-office.gov.uk>
2019-04-16 14:44:45 +01:00
Chris Hill-Scott
042a61a930 Update app/templates/views/trial-mode.html
Co-Authored-By: karlchillmaid <karl.chillmaid@digital.cabinet-office.gov.uk>
2019-04-16 14:44:37 +01:00
Chris Hill-Scott
8872e30567 Update app/templates/views/support/index.html
Co-Authored-By: karlchillmaid <karl.chillmaid@digital.cabinet-office.gov.uk>
2019-04-16 14:44:21 +01:00
Chris Hill-Scott
99ef4d61ff Update app/templates/views/pricing.html
Co-Authored-By: karlchillmaid <karl.chillmaid@digital.cabinet-office.gov.uk>
2019-04-16 14:44:02 +01:00
Chris Hill-Scott
78333b70b9 Update app/templates/views/pricing.html
Co-Authored-By: karlchillmaid <karl.chillmaid@digital.cabinet-office.gov.uk>
2019-04-16 14:43:53 +01:00
Chris Hill-Scott
232b8aa9c8 Update app/templates/views/pricing.html
Co-Authored-By: karlchillmaid <karl.chillmaid@digital.cabinet-office.gov.uk>
2019-04-16 14:43:43 +01:00
Chris Hill-Scott
163f8561e1 Update app/templates/views/message-status.html
Co-Authored-By: karlchillmaid <karl.chillmaid@digital.cabinet-office.gov.uk>
2019-04-16 14:43:34 +01:00
Chris Hill-Scott
534c5b1986 Update app/templates/views/features/letters.html
Co-Authored-By: karlchillmaid <karl.chillmaid@digital.cabinet-office.gov.uk>
2019-04-16 14:43:22 +01:00
Chris Hill-Scott
59e981030a Update app/templates/views/features/emails.html
Co-Authored-By: karlchillmaid <karl.chillmaid@digital.cabinet-office.gov.uk>
2019-04-16 14:43:10 +01:00
Tom Byers
cf6dec2cac Merge pull request #2916 from alphagov/fix-ie11-js-issue
Fix ie11 JS issue
2019-04-16 14:19:49 +01:00
karlchillmaid
0ee322f137 Merge branch 'master' into features-content-updates 2019-04-16 13:50:50 +01:00
karlchillmaid
527d8ff10f Correct table 2019-04-16 13:49:46 +01:00
Tom Byers
8914434573 Bump diff-dom to latest without Object.entries
Versions past this make use of Object.entries
which is not supported in IE11 (so causes an
error). This is meant to be taken care of by
polyfills but our frontend build pipeline isn't
set up to polyfill NPM modules at the moment.

This moves the version bump to the latest that
will still work with our current pipeline.
2019-04-16 13:11:24 +01:00
Tom Byers
1d88324175 Revert "Update diff-dom package to 3.1.0"
This reverts commit 01b97986f6.
2019-04-16 13:09:15 +01:00
Tom Byers
d3cb5aa796 Merge pull request #2915 from alphagov/fix-functional-tests
Revert bump to library to unblock functional tests
2019-04-16 12:01:12 +01:00
Tom Byers
b4cc4c9bea Revert bump to library to unblock functional tests
Version 3.1.3 of govuk-elements-sass makes
everything with the `heading-small` class
`display: block`.

https://github.com/alphagov/govuk_elements/pull/552

We use that class in many places just to make the
text bold with the assumption that it the styles
it applies will not prevent our text rendering
inline. This change breaks that assumption.

We do need to swap these classes out for utility
classes that just apply the bold styles but it can
be done at a later date and we aren't missing out
on much by reverting this library.
2019-04-16 11:16:19 +01:00
karlchillmaid
5f1482f223 Correct time formatting 2019-04-16 11:03:09 +01:00
karlchillmaid
b7c955c010 Make the formatting of postage times consistent 2019-04-16 10:39:50 +01:00
karlchillmaid
a384ae8f9b Make the formatting of postage times consistent 2019-04-16 10:38:54 +01:00
karlchillmaid
f833a9bd67 Make the formatting of postage times consistent 2019-04-16 10:36:32 +01:00
karlchillmaid
0bf1068a3e Make the formatting of postage times consistent
Make the formatting of postage times consistent with the rest of the service, and the GOV.UK style guide.
2019-04-16 10:34:46 +01:00
karlchillmaid
521c7824d6 Update link 2019-04-16 10:25:33 +01:00
karlchillmaid
487919970b Update link 2019-04-16 10:25:02 +01:00
karlchillmaid
3f4ca1018d Updated link 2019-04-16 10:23:10 +01:00
karlchillmaid
d12c184d7e Update links 2019-04-16 10:21:01 +01:00
karlchillmaid
fe8e10a42a Update links
One left to do
2019-04-16 10:19:45 +01:00
karlchillmaid
6830a412de Update links 2019-04-16 10:18:33 +01:00
karlchillmaid
27d4b702cc Update links
One left to do
2019-04-16 10:16:19 +01:00
karlchillmaid
839fc99f30 Update links 2019-04-16 10:04:12 +01:00
Tom Byers
7a6579e8cb Merge pull request #2903 from alphagov/update-node-version
Update node version
2019-04-15 15:44:22 +01:00
karlchillmaid
230ba7bcb1 Update link 2019-04-15 15:28:37 +01:00
karlchillmaid
d97707652f Update links 2019-04-15 15:22:50 +01:00
Chris Hill-Scott
56d4d546f6 Merge pull request #2904 from alphagov/no-live-without-organisation
Don’t let services go live without an organisation
2019-04-15 13:26:15 +01:00
Chris Hill-Scott
8626777fde Don’t let services go live without an organisation
We shouldn’t be making services live without an agreement in place. In
order to have an agreement in place we need to know what organisation
operates the service.

If a service comes along but belongs to an organisation we don’t know
about then we should create that organisation. This commits removes the
link, which should force this to happen.
2019-04-12 22:42:23 +01:00