updates to correct test failures

This commit is contained in:
stvnrlly
2023-01-05 14:35:37 -05:00
parent fdf6aca612
commit b00fea05bc
11 changed files with 23 additions and 23 deletions

View File

@@ -980,7 +980,7 @@ class OrganisationTypeField(GovukRadiosField):
(value, label) for value, label in Organisation.TYPE_LABELS.items()
if not include_only or value in include_only
],
thing='the type of organisation',
thing='the type of organization',
validators=validators or [],
**kwargs
)
@@ -1154,7 +1154,7 @@ class OrganisationCrownStatusForm(StripWhitespaceForm):
('non-crown', 'No'),
('unknown', 'Not sure'),
],
thing='whether this organisation is a crown body',
thing='whether this organization is a crown body',
)
@@ -1166,7 +1166,7 @@ class OrganisationAgreementSignedForm(StripWhitespaceForm):
('no', 'No'),
('unknown', 'No (but we have some service-specific agreements in place)'),
],
thing='whether this organisation has signed the agreement',
thing='whether this organization has signed the agreement',
param_extensions={
'items': [
{'hint': {'html': 'Users will be told their organization has already signed the agreement'}},

View File

@@ -597,7 +597,7 @@ def _get_content_count_error_and_message_for_template(template):
if template.placeholders:
return False, (
f'Will be charged as {message_count(template.fragment_count, template.template_type)} '
f'(not including personalisation)'
f'(not including personalization)'
)
return False, (
f'Will be charged as {message_count(template.fragment_count, template.template_type)} '

View File

@@ -19,7 +19,7 @@
<div class="govuk-grid-column-five-sixths">
<p class="govuk-body">
If a users email addresses ends with one of these domains then
any services they create will be associated with this organisation.
any services they create will be associated with this organization.
</p>
{% call form_wrapper() %}
{{ list_entry(

View File

@@ -19,7 +19,7 @@
<div class="govuk-grid-column-five-sixths">
<p class="govuk-body">
Text entered here will be displayed in the Zendesk ticket when a service
belonging to this organisation requests to go live.
belonging to this organization requests to go live.
</p>
{% call form_wrapper() %}
{{ textbox(form.request_to_go_live_notes, width='1-1', rows=3, autosize=True) }}

View File

@@ -6,7 +6,7 @@
{% from "components/uk_components/back-link/macro.njk" import govukBackLink %}
{% block org_page_title %}
Edit organisation billing details
Edit organization billing details
{% endblock %}
{% block backLink %}
@@ -15,7 +15,7 @@
{% block maincolumn_content %}
{{ page_header('Edit organisation billing details') }}
{{ page_header('Edit organization billing details') }}
{% call form_wrapper() %}
{{ form.billing_contact_names(param_extensions={"classes": "govuk-!-width-full"}) }}

View File

@@ -6,7 +6,7 @@
{% from "components/uk_components/back-link/macro.njk" import govukBackLink %}
{% block org_page_title %}
Edit organisation notes
Edit organization notes
{% endblock %}
{% block backLink %}
@@ -15,7 +15,7 @@
{% block maincolumn_content %}
{{ page_header('Edit organisation notes') }}
{{ page_header('Edit organization notes') }}
{% call form_wrapper() %}
{{ textbox(
form.notes,

View File

@@ -72,7 +72,7 @@
{% endif %}
{% if not template._template.redact_personalisation %}
<span class="page-footer-link page-footer-delete-link-without-button">
<a class="govuk-link govuk-link--destructive" href="{{ url_for('.confirm_redact_template', service_id=current_service.id, template_id=template.id) }}">Hide personalisation after sending</a>
<a class="govuk-link govuk-link--destructive" href="{{ url_for('.confirm_redact_template', service_id=current_service.id, template_id=template.id) }}">Hide personalization after sending</a>
</span>
{% else %}
<p class="hint">Personalization is hidden after sending</p>