diff --git a/app/assets/js/components/add-service-spinner.js b/app/assets/js/components/add-service-spinner.js
index e540dacbb1..bb8a2f250a 100644
--- a/app/assets/js/components/add-service-spinner.js
+++ b/app/assets/js/components/add-service-spinner.js
@@ -14,6 +14,5 @@
document.getElementById('submit-button').setAttribute('disabled', true)
document.getElementById('submit-button').setAttribute('aria-disabled', true)
- document.getElementById('submit-button').setAttribute('class', 'govuk-button govuk-button--disabled')
}
})()
diff --git a/app/assets/js/components/request-psp-test-account-spinner.js b/app/assets/js/components/request-psp-test-account-spinner.js
index e453c151c0..e6144e5e7a 100644
--- a/app/assets/js/components/request-psp-test-account-spinner.js
+++ b/app/assets/js/components/request-psp-test-account-spinner.js
@@ -13,6 +13,5 @@
document.getElementById('submit-button').setAttribute('disabled', true)
document.getElementById('submit-button').setAttribute('aria-disabled', true)
- document.getElementById('submit-button').setAttribute('class', 'govuk-button govuk-button--disabled')
}
})()
diff --git a/app/assets/sass/application.scss b/app/assets/sass/application.scss
index 22c8b305b9..76b19f4c3e 100644
--- a/app/assets/sass/application.scss
+++ b/app/assets/sass/application.scss
@@ -1,7 +1,10 @@
// We set all our pages wider in selfservice because it helps people viewing the list of transactions
$govuk-page-width: 1200px;
+$govuk-suppressed-warnings: (
+ govuk-typography-scale-14
+);
-@import "govuk-frontend/govuk/all";
+@import "govuk-frontend/dist/govuk/all";
@import "accessible-autocomplete";
@import "components/cookie-message";
diff --git a/app/assets/sass/components/navigation.scss b/app/assets/sass/components/navigation.scss
index c212939ecd..722d7389fc 100644
--- a/app/assets/sass/components/navigation.scss
+++ b/app/assets/sass/components/navigation.scss
@@ -13,6 +13,7 @@
.service-info--tag {
display: inline-block;
margin-left: 5px;
+ max-width: none;
}
.service-info {
diff --git a/app/assets/sass/components/print-button.scss b/app/assets/sass/components/print-button.scss
index 7052a77f77..656b57c2c1 100644
--- a/app/assets/sass/components/print-button.scss
+++ b/app/assets/sass/components/print-button.scss
@@ -2,7 +2,7 @@
display: none;
}
-.js-enabled {
+.govuk-frontend-supported {
.print-button-wrapper {
display: block;
}
diff --git a/app/assets/sass/components/request-to-go-live.scss b/app/assets/sass/components/request-to-go-live.scss
index 675bb6b6d4..bdaedbdcfd 100644
--- a/app/assets/sass/components/request-to-go-live.scss
+++ b/app/assets/sass/components/request-to-go-live.scss
@@ -18,17 +18,6 @@
display: inline-block;
width: 30px;
}
- .status {
- background-color: govuk-colour("blue");
- color: govuk-colour("white");
- text-transform: uppercase;
- letter-spacing: 1px;
- font-size: 14px;
- font-weight: bold;
- padding: 0 5px;
- margin-left: govuk-spacing(1);
- vertical-align: middle;
- }
.waiting {
background-color: govuk-colour("dark-grey");
}
diff --git a/app/views/agreements/macro/status.njk b/app/views/agreements/macro/status.njk
index 65b33f2a1c..913ed10a49 100644
--- a/app/views/agreements/macro/status.njk
+++ b/app/views/agreements/macro/status.njk
@@ -5,10 +5,10 @@
"INACTIVE": "govuk-tag--yellow"
} %}
{% set statusTextMap = {
-"CREATED": "needs payment details",
-"ACTIVE": "active",
-"CANCELLED": "cancelled",
-"INACTIVE": "inactive"
+"CREATED": "Needs payment details",
+"ACTIVE": "Active",
+"CANCELLED": "Cancelled",
+"INACTIVE": "Inactive"
} %}
{% macro agreementStatusTag(status) %}
diff --git a/app/views/api-keys/create.njk b/app/views/api-keys/create.njk
index 4553069041..898600a9b8 100644
--- a/app/views/api-keys/create.njk
+++ b/app/views/api-keys/create.njk
@@ -51,7 +51,7 @@
!
- Warning
+ Warning
Store your API key securely
diff --git a/app/views/includes/phase-banner.njk b/app/views/includes/phase-banner.njk
index 41ee262466..c3559cd51a 100644
--- a/app/views/includes/phase-banner.njk
+++ b/app/views/includes/phase-banner.njk
@@ -23,7 +23,7 @@
{% if normalisedPaymentProvider === 'sandbox' %}
Test
{% else %}
- {{ normalisedPaymentProvider }} Test
+ {{ normalisedPaymentProvider | capitalize }} test
{% endif %}
{% else %}
Live
@@ -35,7 +35,7 @@
- switch psp
{% endif %}
{% endset %}
-
{{ tagText }}
+
{{ tagText }}
{% endif %}
{% endset %}
diff --git a/app/views/includes/scripts.njk b/app/views/includes/scripts.njk
index 4ca4f8b1a0..cff41d091d 100644
--- a/app/views/includes/scripts.njk
+++ b/app/views/includes/scripts.njk
@@ -1 +1 @@
-
+
diff --git a/app/views/payouts/list.njk b/app/views/payouts/list.njk
index a52363ede6..da42b1d35d 100644
--- a/app/views/payouts/list.njk
+++ b/app/views/payouts/list.njk
@@ -8,7 +8,7 @@ Payments to your bank account - GOV.UK Pay
{% block beforeContent %}
{% set pageTitleBreadcrumbWithTag %}
Payments to your bank account
-
{{ "LIVE" if filterLiveAccounts else "TEST" }}
+
{{ "Live" if filterLiveAccounts else "Test" }}
{% endset %}
{{ breadcrumbs([
{ text: "My services", href: routes.serviceSwitcher.index },
@@ -20,7 +20,7 @@ Payments to your bank account - GOV.UK Pay
Payments to your bank account
- {{ "LIVE" if filterLiveAccounts else "TEST" }}
+ {{ "Live" if filterLiveAccounts else "Test" }}
diff --git a/app/views/request-to-go-live/index.njk b/app/views/request-to-go-live/index.njk
index f5ae0c35ab..c06ad4f07d 100644
--- a/app/views/request-to-go-live/index.njk
+++ b/app/views/request-to-go-live/index.njk
@@ -1,4 +1,5 @@
{% extends "../layout.njk" %}
+{%- from "govuk/components/tag/macro.njk" import govukTag -%}
{% block pageTitle %}
Request a live account - {{ currentService.name }} - GOV.UK Pay
@@ -32,7 +33,7 @@
!
- Warning
+ Warning
All users with admin permissions can submit this information. You can manage your users here.
@@ -91,19 +92,28 @@
Add your organisation’s name and address. These details will appear on your payment pages.
{% if enteredOrganisationAddress %}
- Completed
- {% elif enteredOrganisationName %}
- In Progress
+ {{ govukTag({
+ text: "Completed"
+ }) }}
+ {% elif enteredOrganisationName %}
+ {{ govukTag({
+ text: "In progress",
+ classes: "govuk-tag--grey"
+ }) }}
{% endif %}
Tell us which payment service provider you will use.
{% if chosenHowToProcessPayments %}
- Completed
+ {{ govukTag({
+ text: "Completed"
+ }) }}
{% endif %}
Read and accept our legal terms.
{% if agreedToTerms %}
- Completed
+ {{ govukTag({
+ text: "Completed"
+ }) }}
{% endif %}
diff --git a/app/views/services/_service-section.njk b/app/views/services/_service-section.njk
index 6df7dfa94f..6d8196f505 100644
--- a/app/views/services/_service-section.njk
+++ b/app/views/services/_service-section.njk
@@ -7,7 +7,7 @@
{{ service.name }}
{% if service.isWorldpayTestService %}
{{govukTag({
- text: "WORLDPAY TEST SERVICE",
+ text: "Worldpay test service",
classes: "govuk-tag--grey"
})}}
{% endif %}
diff --git a/app/views/services/_service-switch.njk b/app/views/services/_service-switch.njk
index c64468312d..fb4cde136f 100644
--- a/app/views/services/_service-switch.njk
+++ b/app/views/services/_service-switch.njk
@@ -15,7 +15,7 @@
{% endif %}
{% if account.provider_switch_enabled and service.isAdminUser %}
-
switch PSP
+
switch PSP
{% endif %}
diff --git a/app/views/simplified-account/settings/stripe-details/bank-account/index.njk b/app/views/simplified-account/settings/stripe-details/bank-account/index.njk
index a25c6b8748..1275e67631 100644
--- a/app/views/simplified-account/settings/stripe-details/bank-account/index.njk
+++ b/app/views/simplified-account/settings/stripe-details/bank-account/index.njk
@@ -77,7 +77,6 @@
document.getElementById('bank-account-form').addEventListener('submit', function () {
submitButton.setAttribute('disabled', 'true')
submitButton.setAttribute('aria-disabled', 'true')
- submitButton.setAttribute('class', 'govuk-button govuk-button--disabled')
submitButton.textContent = "Saving..."
})
diff --git a/app/views/switch-psp/switch-psp.njk b/app/views/switch-psp/switch-psp.njk
index 9c696d0fce..fa64517b66 100644
--- a/app/views/switch-psp/switch-psp.njk
+++ b/app/views/switch-psp/switch-psp.njk
@@ -22,11 +22,11 @@
{% if not item.enabled and not item.complete %}
-
cannot start yet
+
Cannot start yet
{% elif item.enabled and not item.complete %}
-
not started
+
Not started
{% elif item.complete %}
-
completed
+
Completed
{% endif %}
{% endmacro %}
diff --git a/app/views/transaction-detail/index.njk b/app/views/transaction-detail/index.njk
index 63c87230c8..a01ed7516c 100644
--- a/app/views/transaction-detail/index.njk
+++ b/app/views/transaction-detail/index.njk
@@ -12,7 +12,7 @@
{% if contextIsAllServiceTransactions %}
{% set pageTitleBreadcrumbWithTag %}
Transactions for all services
-
{{ "LIVE" if live else "TEST" }}
+
{{ "Live" if live else "Test" }}
{% endset %}
{{ breadcrumbs([
{ text: "My services", href: routes.serviceSwitcher.index },
diff --git a/app/views/transactions/filter.njk b/app/views/transactions/filter.njk
index 9b8e3086df..b812c76bb2 100644
--- a/app/views/transactions/filter.njk
+++ b/app/views/transactions/filter.njk
@@ -270,7 +270,7 @@
{% endif %}
-
+
Advanced filters
diff --git a/app/views/transactions/index.njk b/app/views/transactions/index.njk
index 25311c704b..b736e5b092 100644
--- a/app/views/transactions/index.njk
+++ b/app/views/transactions/index.njk
@@ -30,7 +30,7 @@
{% if allServiceTransactions %}
{% set pageTitleBreadcrumbWithTag %}
Transactions for all services
- {{ "LIVE" if filterLiveAccounts else "TEST" }}
+ {{ "Live" if filterLiveAccounts else "Test" }}
{% endset %}
{{ breadcrumbs([
{ text: "My services", href: routes.serviceSwitcher.index },
@@ -62,7 +62,7 @@
{% if allServiceTransactions %}
Transactions for all services
- {{ "LIVE" if filterLiveAccounts else "TEST" }}
+ {{ "Live" if filterLiveAccounts else "Test" }}
{% else %}
Transactions
{% endif %}
diff --git a/app/views/transactions/paginator.njk b/app/views/transactions/paginator.njk
index 2073079d79..46d4b4f384 100644
--- a/app/views/transactions/paginator.njk
+++ b/app/views/transactions/paginator.njk
@@ -6,7 +6,7 @@
-