Updates for govuk pr followup

This commit is contained in:
Alex Janousek
2025-10-07 12:29:08 -04:00
parent b0527c1fd8
commit f647b09ac2
9 changed files with 4 additions and 85 deletions

3
.gitignore vendored
View File

@@ -151,3 +151,6 @@ playwright/
backstop_data/bitmaps_test/
backstop_data/html_report/
backstop_data/engine_scripts/playwright/
# Pa11y
pa11y-results.txt

View File

@@ -30,10 +30,6 @@
});
$cancelButton.prop('disabled', true);
}, 50); // Small delay to ensure form submits first
setTimeout(() => {
renableSubmitButton($submitButton)();
}, 10000); // fallback safety
} else {
setTimeout(() => renableSubmitButton($submitButton)(), 1500);
}

View File

@@ -25,12 +25,3 @@ def pricing():
search_form=SearchByNameForm(),
navigation_links=using_notify_nav(),
)
@main.route("/pricing/how-to-pay")
@user_is_logged_in
def how_to_pay():
return render_template(
"views/pricing/how-to-pay.html",
navigation_links=using_notify_nav(),
)

View File

@@ -90,9 +90,6 @@ class HeaderNavigation(Navigation):
"view_jobs",
"usage",
},
"pricing": {
"how_to_pay",
},
"documentation": {
"documentation",
"integration_testing",

View File

@@ -1,64 +0,0 @@
{% extends "base.html" %}
{% from "components/page-header.html" import page_header %}
{% block per_page_title %}
How to pay
{% endblock %}
{% block content_column_content %}
{{ page_header('How to pay') }}
<!-- <p>
If you use Notify.gov to send text messages, you may need to send us a <a class="usa-link" href="#purchase-orders">purchase order</a>.
</p>
<h2 class="font-body-lg" id="invoices">
Invoices
</h2>
<p>
Notify is run by the Government Digital Service (GDS), part of the Cabinet Office.
</p>
<p>
The Cabinet Office will send your organization an invoice each quarter if you:
</p>
<ul class="list list-bullet">
<li>exceed the <a class="usa-link" href="{{ url_for('.pricing') }}">free text message allowance</a></li>
</ul>
<p>
If your organization has more than one Notify service, youll see a breakdown of each service on your invoice.
</p>
<p>
If the value of an invoice is less than £250 (before <abbr title="Value Added Tax">VAT</abbr>), it will be added to the total for the next quarter to save time and effort.
</p>
<p>
You can pay by BACS, debit card, or credit card.
</p>
<p>
Please start your payment reference with the invoice number.
</p>
<h2 class="font-body-lg" id="purchase-orders">
Purchase orders
</h2>
<p>
If your organizations total estimated spend is more than £500 per quarter (before <abbr title="Value Added Tax">VAT</abbr>), you need to raise a purchase order (PO).
</p>
<p>
Your organization should raise a single <abbr title="purchase order">PO</abbr> for the estimated cost of all its services. You can update the <abbr title="purchase order">PO</abbr> any time if your usage increases.
</p>
<p>
Your organization may need to <a class="usa-link" href="#">add the Cabinet Office as a supplier</a> before you can raise a <abbr title="purchase order">PO</abbr>.
</p> -->
{% endblock %}

View File

@@ -7,7 +7,6 @@ plugins.addSrc = require('gulp-add-src');
plugins.babel = require('gulp-babel');
plugins.cleanCSS = require('gulp-clean-css');
plugins.concat = require('gulp-concat');
plugins.jshint = require('gulp-jshint');
plugins.prettyerror = require('gulp-prettyerror');
plugins.uglify = require('gulp-uglify');
@@ -149,7 +148,7 @@ const styles = async () => {
await uswds.compileSass();
};
// Task to copy USWDS assetsconst
// Task to copy USWDS assets
const copyUSWDSAssets = () => {
return src([
'node_modules/@uswds/uswds/dist/img/**/*',

View File

@@ -98,7 +98,6 @@ def test_hiding_pages_from_search_engines(
"multiple_languages",
"benchmark_performance",
"message_status",
"how_to_pay",
"get_started",
"how_to",
"create_and_send_messages",

View File

@@ -112,7 +112,6 @@ EXCLUDED_ENDPOINTS = tuple(
"guest_list",
"how_to",
"history",
"how_to_pay",
"inbound_sms_admin",
"index",
"information_risk_management",

View File

@@ -118,7 +118,6 @@ const routes = {
documentation: [
{ label: 'Documentation', path: '/documentation' },
{ label: 'Pricing How to Pay', path: '/pricing/how-to-pay' },
{ label: 'Create Messages', path: '/using-notify/how-to/create-and-send-messages' },
{ label: 'Edit Messages', path: '/using-notify/how-to/edit-and-format-messages' },
{ label: 'Send Files by Email', path: '/using-notify/how-to/send-files-by-email' },