From 07174abc9938f8cced2f3b574f89007ddcf1319b Mon Sep 17 00:00:00 2001
From: Samuel Young
Date: Wed, 23 Oct 2024 09:38:06 +0100
Subject: [PATCH 01/18] PC-1383: add html for no epc page
---
help_to_heat/frontdoor/views.py | 21 ++++++++++++++
help_to_heat/templates/frontdoor/no-epc.html | 30 ++++++++++++++++++++
2 files changed, 51 insertions(+)
create mode 100644 help_to_heat/templates/frontdoor/no-epc.html
diff --git a/help_to_heat/frontdoor/views.py b/help_to_heat/frontdoor/views.py
index 355a0ef3..15fdf0a9 100644
--- a/help_to_heat/frontdoor/views.py
+++ b/help_to_heat/frontdoor/views.py
@@ -866,6 +866,27 @@ def save_post_data(self, data, session_id, page_name):
return data
+@register_page(no_epc_page)
+class NoEpcView(PageView):
+ def build_extra_context(self, request, session_id, page_name, data, is_change_page):
+ country = data.get(country_field)
+
+ current_month, next_month = utils.get_current_and_next_month_names(month_names)
+ current_quarter_month, next_quarter_month = utils.get_current_and_next_quarter_month_names(month_names)
+
+ show_month_wording = country in [country_field_england, country_field_wales]
+
+ return {
+ "current_month": current_month, "next_month": next_month,
+ "current_quarter_month": current_quarter_month, "next_quarter_month": next_quarter_month,
+ "show_month_wording": show_month_wording
+ }
+
+ def save_post_data(self, data, session_id, page_name):
+ data[no_epc_field] = field_yes
+ return data
+
+
@register_page(benefits_page)
class BenefitsView(PageView):
def build_extra_context(self, request, session_id, *args, **kwargs):
diff --git a/help_to_heat/templates/frontdoor/no-epc.html b/help_to_heat/templates/frontdoor/no-epc.html
new file mode 100644
index 00000000..4e6968a2
--- /dev/null
+++ b/help_to_heat/templates/frontdoor/no-epc.html
@@ -0,0 +1,30 @@
+{% extends "frontdoor/base.html" %}
+{% import "macros.html" as macros with context %}
+
+{% block title %}
+ {{_("We could not find and Energy Performance Certificate for your property - Check eligibility for Great British Insulation Scheme - GOV.UK")}}
+{% endblock %}
+
+{% block content %}
+ {% call macros.form_wrapper(prev_url) -%}
+ {{_("We could not find an Energy Performance Certificate for your property")}}
+
+ {{_("This may be because:")}}
+
+ {% if show_month_wording %}
+ - {{ _("your property was issued an EPC within the last month") }}
+ {% else %}
+ - {{ _("your property was issued an EPC within the last quarter") }}
+ {% endif %}
+ - {{ _("your property has not previously been issued an EPC") }}
+
+ {% if show_month_wording %}
+ {{_("If your property has had a new EPC issued since 1 %(current_month)s, we may not be able to find it in our database because it is only updated monthly. Please return to this service after 1 %(next_month)s when we expect the database to have been updated.") % { "current_month": current_month, "next_month": next_month }}}
+ {% else %}
+ {{_("If your property was issued an EPC since 1 %(current_quarter_month)s, we may not be able to find it in our database because it is updated quarterly. Please return to this service after 1 %(next_quarter_month)s when we expect the database to have been updated.") % { "current_quarter_month": current_quarter_month, "next_quarter_month": next_quarter_month }}}
+ {% endif %}
+
+ {{_("You may continue using this service without an EPC.")}}
+
+ {%- endcall %}
+{% endblock %}
From 29dffe8f99a7e6a2cf43b6ffa369d1423cbcfc55 Mon Sep 17 00:00:00 2001
From: Samuel Young
Date: Wed, 23 Oct 2024 11:01:05 +0100
Subject: [PATCH 02/18] PC-1383: add no epc page to route
---
help_to_heat/frontdoor/consts.py | 4 +++
.../frontdoor/routing/forwards_routing.py | 26 +++++++++++++++++--
help_to_heat/frontdoor/schemas.py | 4 +++
help_to_heat/frontdoor/views.py | 14 +++++++---
help_to_heat/utils.py | 10 +++++++
5 files changed, 52 insertions(+), 6 deletions(-)
diff --git a/help_to_heat/frontdoor/consts.py b/help_to_heat/frontdoor/consts.py
index 93f77399..0cfe7fdc 100644
--- a/help_to_heat/frontdoor/consts.py
+++ b/help_to_heat/frontdoor/consts.py
@@ -20,6 +20,7 @@
address_select_manual_page = "address-select-manual"
council_tax_band_page = "council-tax-band"
epc_page = "epc"
+no_epc_page = "no-epc"
epc_ineligible_page = "epc-ineligible"
benefits_page = "benefits"
household_income_page = "household-income"
@@ -58,6 +59,7 @@
address_select_manual_page,
council_tax_band_page,
epc_page,
+ no_epc_page,
epc_ineligible_page,
benefits_page,
household_income_page,
@@ -205,6 +207,8 @@
epc_rating_field_not_found = "Not found"
epc_rating_is_eligible_field = "epc_rating_is_eligible"
+no_epc_field = "confirm_no_epc"
+
benefits_field = "benefits"
household_income_field = "household_income"
diff --git a/help_to_heat/frontdoor/routing/forwards_routing.py b/help_to_heat/frontdoor/routing/forwards_routing.py
index 398b88d9..c6fbf3a0 100644
--- a/help_to_heat/frontdoor/routing/forwards_routing.py
+++ b/help_to_heat/frontdoor/routing/forwards_routing.py
@@ -48,6 +48,8 @@
loft_insulation_field,
loft_insulation_page,
loft_page,
+ no_epc_field,
+ no_epc_page,
northern_ireland_ineligible_page,
number_of_bedrooms_field,
number_of_bedrooms_page,
@@ -182,6 +184,9 @@ def get_next_page(current_page, answers):
if current_page == epc_page:
return _epc_next_page(answers)
+ if current_page == no_epc_page:
+ return _no_epc_next_page(answers)
+
if current_page == benefits_page:
return _benefits_next_page(answers)
@@ -405,13 +410,25 @@ def _council_tax_band_next_page(answers):
return _post_council_tax_band_next_page(answers)
-# confirms epc if it was found
+# confirms epc if it was found, or send to no epc
def _post_council_tax_band_next_page(answers):
epc_found = answers.get(epc_found_field)
+ address_choice = answers.get(address_choice_field)
+ epc_select_choice = answers.get(epc_select_choice_field)
+ address_select_choice = answers.get(address_select_choice_field)
if epc_found == field_yes:
return epc_page
if epc_found == field_no:
- return _post_epc_next_page(answers)
+ # if they entered an address manually, don't show the no epc page as an epc wasn't searched for
+ # note that there are 3 address select pages so 3 places where the user can opt to enter manually
+ if (
+ address_choice == address_choice_field_enter_manually
+ or epc_select_choice == epc_select_choice_field_enter_manually
+ or address_select_choice == address_choice_field_enter_manually
+ ):
+ return _post_epc_next_page(answers)
+
+ return no_epc_page
return _unknown_response
@@ -425,6 +442,11 @@ def _epc_next_page(answers):
return _post_epc_next_page(answers)
+@_requires_answer(no_epc_field)
+def _no_epc_next_page(answers):
+ return _post_epc_next_page(answers)
+
+
# ask circumstances questions, depending on flow
def _post_epc_next_page(answers):
own_property = answers.get(own_property_field)
diff --git a/help_to_heat/frontdoor/schemas.py b/help_to_heat/frontdoor/schemas.py
index 89e79282..6ac29cb6 100644
--- a/help_to_heat/frontdoor/schemas.py
+++ b/help_to_heat/frontdoor/schemas.py
@@ -66,6 +66,7 @@
loft_insulation_field_no_loft,
loft_insulation_page,
loft_page,
+ no_epc_page,
northern_ireland_ineligible_page,
number_of_bedrooms_field,
number_of_bedrooms_field_one,
@@ -223,6 +224,7 @@
referral_already_submitted_page: summary_page,
council_tax_band_page: summary_page,
epc_page: summary_page,
+ no_epc_page: summary_page,
benefits_page: summary_page,
household_income_page: summary_page,
property_type_page: summary_page,
@@ -250,6 +252,7 @@
referral_already_submitted_page,
council_tax_band_page,
epc_page,
+ no_epc_page,
northern_ireland_ineligible_page,
park_home_ineligible_page,
epc_ineligible_page,
@@ -821,6 +824,7 @@ class SessionSchema(Schema):
)
epc_rating = fields.String(validate=validate.OneOf(epc_rating_options))
epc_date = fields.String()
+ confirm_no_epc = fields.String()
benefits = fields.String(validate=validate.OneOf(tuple(item["value"] for item in yes_no_options_map)))
household_income = fields.String(
validate=validate.OneOf(tuple(item["value"] for item in household_income_options_map))
diff --git a/help_to_heat/frontdoor/views.py b/help_to_heat/frontdoor/views.py
index 15fdf0a9..2e6bd4f4 100644
--- a/help_to_heat/frontdoor/views.py
+++ b/help_to_heat/frontdoor/views.py
@@ -91,6 +91,8 @@
loft_insulation_field_more_than_threshold,
loft_insulation_page,
loft_page,
+ no_epc_field,
+ no_epc_page,
northern_ireland_ineligible_page,
number_of_bedrooms_field,
number_of_bedrooms_page,
@@ -869,7 +871,9 @@ def save_post_data(self, data, session_id, page_name):
@register_page(no_epc_page)
class NoEpcView(PageView):
def build_extra_context(self, request, session_id, page_name, data, is_change_page):
- country = data.get(country_field)
+ session_data = interface.api.session.get_session(session_id)
+
+ country = session_data.get(country_field)
current_month, next_month = utils.get_current_and_next_month_names(month_names)
current_quarter_month, next_quarter_month = utils.get_current_and_next_quarter_month_names(month_names)
@@ -877,9 +881,11 @@ def build_extra_context(self, request, session_id, page_name, data, is_change_pa
show_month_wording = country in [country_field_england, country_field_wales]
return {
- "current_month": current_month, "next_month": next_month,
- "current_quarter_month": current_quarter_month, "next_quarter_month": next_quarter_month,
- "show_month_wording": show_month_wording
+ "current_month": current_month,
+ "next_month": next_month,
+ "current_quarter_month": current_quarter_month,
+ "next_quarter_month": next_quarter_month,
+ "show_month_wording": show_month_wording,
}
def save_post_data(self, data, session_id, page_name):
diff --git a/help_to_heat/utils.py b/help_to_heat/utils.py
index a3fe4859..66328ee2 100644
--- a/help_to_heat/utils.py
+++ b/help_to_heat/utils.py
@@ -238,3 +238,13 @@ def get_current_and_next_month_names(month_names):
current_month = month_names[now.month - 1]
next_month = month_names[(now + relativedelta(months=+1)).month - 1]
return current_month, next_month
+
+
+# Q1 january -> april
+# Q2 april -> july
+# Q3 july -> october
+# Q4 october -> january
+# we update the month names manually on each scottish data dump
+# this is to tell the user the month of the last dump, and expected month of next dump
+def get_current_and_next_quarter_month_names(month_names):
+ return month_names[6], month_names[9]
From 2077a565f7c01e5b4e85351b656dd56d8702f0b4 Mon Sep 17 00:00:00 2001
From: Samuel Young
Date: Thu, 24 Oct 2024 16:11:53 +0100
Subject: [PATCH 03/18] PC-1383: format migration
---
...limit_from_some_scottishepc_text_fields.py | 127 +++++++++---------
1 file changed, 63 insertions(+), 64 deletions(-)
diff --git a/help_to_heat/portal/migrations/0015_remove_length_limit_from_some_scottishepc_text_fields.py b/help_to_heat/portal/migrations/0015_remove_length_limit_from_some_scottishepc_text_fields.py
index e5a5ac59..8de49529 100644
--- a/help_to_heat/portal/migrations/0015_remove_length_limit_from_some_scottishepc_text_fields.py
+++ b/help_to_heat/portal/migrations/0015_remove_length_limit_from_some_scottishepc_text_fields.py
@@ -4,165 +4,164 @@
class Migration(migrations.Migration):
-
dependencies = [
- ('portal', '0014_add_extra_fields_to_scottishepc'),
+ ("portal", "0014_add_extra_fields_to_scottishepc"),
]
operations = [
migrations.AlterField(
- model_name='scottishepcrating',
- name='address1',
+ model_name="scottishepcrating",
+ name="address1",
field=models.TextField(null=True),
),
migrations.AlterField(
- model_name='scottishepcrating',
- name='address2',
+ model_name="scottishepcrating",
+ name="address2",
field=models.TextField(null=True),
),
migrations.AlterField(
- model_name='scottishepcrating',
- name='address3',
+ model_name="scottishepcrating",
+ name="address3",
field=models.TextField(null=True),
),
migrations.AlterField(
- model_name='scottishepcrating',
- name='built_form',
+ model_name="scottishepcrating",
+ name="built_form",
field=models.TextField(null=True),
),
migrations.AlterField(
- model_name='scottishepcrating',
- name='constituency',
+ model_name="scottishepcrating",
+ name="constituency",
field=models.TextField(null=True),
),
migrations.AlterField(
- model_name='scottishepcrating',
- name='construction_age_band',
+ model_name="scottishepcrating",
+ name="construction_age_band",
field=models.TextField(null=True),
),
migrations.AlterField(
- model_name='scottishepcrating',
- name='energy_tariff',
+ model_name="scottishepcrating",
+ name="energy_tariff",
field=models.TextField(null=True),
),
migrations.AlterField(
- model_name='scottishepcrating',
- name='floor_description',
+ model_name="scottishepcrating",
+ name="floor_description",
field=models.TextField(null=True),
),
migrations.AlterField(
- model_name='scottishepcrating',
- name='floor_energy_efficiency',
+ model_name="scottishepcrating",
+ name="floor_energy_efficiency",
field=models.TextField(null=True),
),
migrations.AlterField(
- model_name='scottishepcrating',
- name='floor_level',
+ model_name="scottishepcrating",
+ name="floor_level",
field=models.TextField(null=True),
),
migrations.AlterField(
- model_name='scottishepcrating',
- name='lighting_description',
+ model_name="scottishepcrating",
+ name="lighting_description",
field=models.TextField(null=True),
),
migrations.AlterField(
- model_name='scottishepcrating',
- name='lighting_energy_efficiency',
+ model_name="scottishepcrating",
+ name="lighting_energy_efficiency",
field=models.TextField(null=True),
),
migrations.AlterField(
- model_name='scottishepcrating',
- name='lighting_environmental_efficiency',
+ model_name="scottishepcrating",
+ name="lighting_environmental_efficiency",
field=models.TextField(null=True),
),
migrations.AlterField(
- model_name='scottishepcrating',
- name='local_authority',
+ model_name="scottishepcrating",
+ name="local_authority",
field=models.TextField(null=True),
),
migrations.AlterField(
- model_name='scottishepcrating',
- name='main_heating_description',
+ model_name="scottishepcrating",
+ name="main_heating_description",
field=models.TextField(null=True),
),
migrations.AlterField(
- model_name='scottishepcrating',
- name='main_heating_energy_efficiency',
+ model_name="scottishepcrating",
+ name="main_heating_energy_efficiency",
field=models.TextField(null=True),
),
migrations.AlterField(
- model_name='scottishepcrating',
- name='main_heating_environmental_efficiency',
+ model_name="scottishepcrating",
+ name="main_heating_environmental_efficiency",
field=models.TextField(null=True),
),
migrations.AlterField(
- model_name='scottishepcrating',
- name='main_heating_fuel_type',
+ model_name="scottishepcrating",
+ name="main_heating_fuel_type",
field=models.TextField(null=True),
),
migrations.AlterField(
- model_name='scottishepcrating',
- name='mains_gas',
+ model_name="scottishepcrating",
+ name="mains_gas",
field=models.TextField(null=True),
),
migrations.AlterField(
- model_name='scottishepcrating',
- name='mechanical_ventilation',
+ model_name="scottishepcrating",
+ name="mechanical_ventilation",
field=models.TextField(null=True),
),
migrations.AlterField(
- model_name='scottishepcrating',
- name='property_type',
+ model_name="scottishepcrating",
+ name="property_type",
field=models.TextField(null=True),
),
migrations.AlterField(
- model_name='scottishepcrating',
- name='roof_description',
+ model_name="scottishepcrating",
+ name="roof_description",
field=models.TextField(null=True),
),
migrations.AlterField(
- model_name='scottishepcrating',
- name='roof_energy_efficiency',
+ model_name="scottishepcrating",
+ name="roof_energy_efficiency",
field=models.TextField(null=True),
),
migrations.AlterField(
- model_name='scottishepcrating',
- name='roof_environmental_efficiency',
+ model_name="scottishepcrating",
+ name="roof_environmental_efficiency",
field=models.TextField(null=True),
),
migrations.AlterField(
- model_name='scottishepcrating',
- name='second_heating_description',
+ model_name="scottishepcrating",
+ name="second_heating_description",
field=models.TextField(null=True),
),
migrations.AlterField(
- model_name='scottishepcrating',
- name='second_heating_energy_efficiency',
+ model_name="scottishepcrating",
+ name="second_heating_energy_efficiency",
field=models.TextField(null=True),
),
migrations.AlterField(
- model_name='scottishepcrating',
- name='tenure',
+ model_name="scottishepcrating",
+ name="tenure",
field=models.TextField(null=True),
),
migrations.AlterField(
- model_name='scottishepcrating',
- name='wall_description',
+ model_name="scottishepcrating",
+ name="wall_description",
field=models.TextField(null=True),
),
migrations.AlterField(
- model_name='scottishepcrating',
- name='wall_energy_efficiency',
+ model_name="scottishepcrating",
+ name="wall_energy_efficiency",
field=models.TextField(null=True),
),
migrations.AlterField(
- model_name='scottishepcrating',
- name='wall_environmental_efficiency',
+ model_name="scottishepcrating",
+ name="wall_environmental_efficiency",
field=models.TextField(null=True),
),
migrations.AlterField(
- model_name='scottishepcrating',
- name='windows_description',
+ model_name="scottishepcrating",
+ name="windows_description",
field=models.TextField(null=True),
),
]
From 6ececb6defb510e7ed417af6b23196682cfbd1af Mon Sep 17 00:00:00 2001
From: Samuel Young
Date: Thu, 24 Oct 2024 16:13:17 +0100
Subject: [PATCH 04/18] PC-1383: fix & add tests
---
tests/routing/__init__.py | 5 +-
tests/routing/test_backwards_routing.py | 72 ++++++++++++++++++++-----
tests/routing/test_forwards_routing.py | 32 ++++++++---
tests/test_frontdoor.py | 36 +++++++++++++
4 files changed, 124 insertions(+), 21 deletions(-)
diff --git a/tests/routing/__init__.py b/tests/routing/__init__.py
index 6736b6ea..f0daa9d9 100644
--- a/tests/routing/__init__.py
+++ b/tests/routing/__init__.py
@@ -46,6 +46,7 @@
loft_insulation_field_dont_know,
loft_insulation_field_less_than_threshold,
loft_insulation_field_more_than_threshold,
+ no_epc_field,
number_of_bedrooms_field,
number_of_bedrooms_field_one,
number_of_bedrooms_field_studio,
@@ -378,6 +379,7 @@ def get_epc_answers(address_flow=None, duplicate_uprn=None, property_flow=None):
address_flow_write_address_epc_hit_select,
address_flow_write_address_scotland_select_epc,
]:
+ # if they would hit the epc page
yield {
**council_tax_band_answers,
epc_accept_suggested_epc_field: field_no,
@@ -394,7 +396,8 @@ def get_epc_answers(address_flow=None, duplicate_uprn=None, property_flow=None):
epc_rating_is_eligible_field: field_yes,
}
else:
- yield council_tax_band_answers
+ # else they would hit the no-epc page
+ yield {**council_tax_band_answers, no_epc_field: field_yes}
def get_circumstances_answers(circumstances_flow=None, address_flow=None, duplicate_uprn=None, property_flow=None):
diff --git a/tests/routing/test_backwards_routing.py b/tests/routing/test_backwards_routing.py
index f7c6ef6c..ba29da5e 100644
--- a/tests/routing/test_backwards_routing.py
+++ b/tests/routing/test_backwards_routing.py
@@ -44,6 +44,7 @@
loft_access_page,
loft_insulation_page,
loft_page,
+ no_epc_page,
northern_ireland_ineligible_page,
number_of_bedrooms_page,
own_property_page,
@@ -373,6 +374,53 @@ def test_epc_prev_page(address_flow, property_flow, duplicate_uprn, expected_pre
assert get_prev_page(epc_page, flow_answers) == expected_prev_page
+@pytest.mark.parametrize(
+ "address_flow, property_flow, duplicate_uprn, expected_prev_page",
+ [
+ (address_flow_write_address_epc_api_fail_select, property_flow_park_home, field_no, address_select_page),
+ (
+ address_flow_write_address_epc_api_fail_select,
+ property_flow_park_home,
+ field_yes,
+ referral_already_submitted_page,
+ ),
+ (address_flow_write_address_epc_api_fail_select, property_flow_main, field_no, council_tax_band_page),
+ (address_flow_write_address_epc_api_fail_select, property_flow_main, field_yes, council_tax_band_page),
+ (address_flow_write_address_epc_api_fail_select, property_flow_social_housing, field_no, address_select_page),
+ (
+ address_flow_write_address_epc_api_fail_select,
+ property_flow_social_housing,
+ field_yes,
+ referral_already_submitted_page,
+ ),
+ (address_flow_write_address_scotland_select_no_epc, property_flow_park_home, field_no, address_select_page),
+ (
+ address_flow_write_address_scotland_select_no_epc,
+ property_flow_park_home,
+ field_yes,
+ referral_already_submitted_page,
+ ),
+ (address_flow_write_address_scotland_select_no_epc, property_flow_main, field_no, council_tax_band_page),
+ (address_flow_write_address_scotland_select_no_epc, property_flow_main, field_yes, council_tax_band_page),
+ (
+ address_flow_write_address_scotland_select_no_epc,
+ property_flow_social_housing,
+ field_no,
+ address_select_page,
+ ),
+ (
+ address_flow_write_address_scotland_select_no_epc,
+ property_flow_social_housing,
+ field_yes,
+ referral_already_submitted_page,
+ ),
+ ],
+)
+def test_no_epc_prev_page(address_flow, property_flow, duplicate_uprn, expected_prev_page):
+ for flow_answers in get_council_tax_band_answers(address_flow, duplicate_uprn, property_flow):
+ assert get_prev_page(no_epc_page, flow_answers) == expected_prev_page
+
+
@pytest.mark.parametrize(
"address_flow, expected_prev_page",
[
@@ -401,15 +449,15 @@ def test_epc_ineligible_prev_page(address_flow, expected_prev_page):
(address_flow_write_address_epc_hit_write_manually, property_flow_park_home, field_yes, epc_select_manual_page),
(address_flow_write_address_epc_hit_write_manually, property_flow_main, field_no, council_tax_band_page),
(address_flow_write_address_epc_hit_write_manually, property_flow_main, field_yes, council_tax_band_page),
- (address_flow_write_address_epc_api_fail_select, property_flow_park_home, field_no, address_select_page),
+ (address_flow_write_address_epc_api_fail_select, property_flow_park_home, field_no, no_epc_page),
(
address_flow_write_address_epc_api_fail_select,
property_flow_park_home,
field_yes,
- referral_already_submitted_page,
+ no_epc_page,
),
- (address_flow_write_address_epc_api_fail_select, property_flow_main, field_no, council_tax_band_page),
- (address_flow_write_address_epc_api_fail_select, property_flow_main, field_yes, council_tax_band_page),
+ (address_flow_write_address_epc_api_fail_select, property_flow_main, field_no, no_epc_page),
+ (address_flow_write_address_epc_api_fail_select, property_flow_main, field_yes, no_epc_page),
(
address_flow_write_address_epc_api_fail_manually,
property_flow_park_home,
@@ -428,15 +476,15 @@ def test_epc_ineligible_prev_page(address_flow, expected_prev_page):
(address_flow_write_address_scotland_select_epc, property_flow_park_home, field_yes, epc_page),
(address_flow_write_address_scotland_select_epc, property_flow_main, field_no, epc_page),
(address_flow_write_address_scotland_select_epc, property_flow_main, field_yes, epc_page),
- (address_flow_write_address_scotland_select_no_epc, property_flow_park_home, field_no, address_select_page),
+ (address_flow_write_address_scotland_select_no_epc, property_flow_park_home, field_no, no_epc_page),
(
address_flow_write_address_scotland_select_no_epc,
property_flow_park_home,
field_yes,
- referral_already_submitted_page,
+ no_epc_page,
),
- (address_flow_write_address_scotland_select_no_epc, property_flow_main, field_no, council_tax_band_page),
- (address_flow_write_address_scotland_select_no_epc, property_flow_main, field_yes, council_tax_band_page),
+ (address_flow_write_address_scotland_select_no_epc, property_flow_main, field_no, no_epc_page),
+ (address_flow_write_address_scotland_select_no_epc, property_flow_main, field_yes, no_epc_page),
(address_flow_write_address_scotland_manually, property_flow_park_home, field_no, address_select_manual_page),
(address_flow_write_address_scotland_manually, property_flow_park_home, field_yes, address_select_manual_page),
(address_flow_write_address_scotland_manually, property_flow_main, field_no, council_tax_band_page),
@@ -502,14 +550,14 @@ def test_property_type_main_flow_prev_page(circumstances_flow, expected_prev_pag
(address_flow_write_address_epc_hit_select, field_yes, epc_page),
(address_flow_write_address_epc_hit_write_manually, field_no, epc_select_manual_page),
(address_flow_write_address_epc_hit_write_manually, field_yes, epc_select_manual_page),
- (address_flow_write_address_epc_api_fail_select, field_no, address_select_page),
- (address_flow_write_address_epc_api_fail_select, field_yes, referral_already_submitted_page),
+ (address_flow_write_address_epc_api_fail_select, field_no, no_epc_page),
+ (address_flow_write_address_epc_api_fail_select, field_yes, no_epc_page),
(address_flow_write_address_epc_api_fail_manually, field_no, address_select_manual_page),
(address_flow_write_address_epc_api_fail_manually, field_yes, address_select_manual_page),
(address_flow_write_address_scotland_select_epc, field_no, epc_page),
(address_flow_write_address_scotland_select_epc, field_yes, epc_page),
- (address_flow_write_address_scotland_select_no_epc, field_no, address_select_page),
- (address_flow_write_address_scotland_select_no_epc, field_yes, referral_already_submitted_page),
+ (address_flow_write_address_scotland_select_no_epc, field_no, no_epc_page),
+ (address_flow_write_address_scotland_select_no_epc, field_yes, no_epc_page),
(address_flow_write_address_scotland_manually, field_no, address_select_manual_page),
(address_flow_write_address_scotland_manually, field_yes, address_select_manual_page),
(address_flow_manually, field_no, address_manual_page),
diff --git a/tests/routing/test_forwards_routing.py b/tests/routing/test_forwards_routing.py
index 7d3062f4..42a08619 100644
--- a/tests/routing/test_forwards_routing.py
+++ b/tests/routing/test_forwards_routing.py
@@ -59,6 +59,7 @@
loft_insulation_field_more_than_threshold,
loft_insulation_page,
loft_page,
+ no_epc_page,
northern_ireland_ineligible_page,
number_of_bedrooms_field,
number_of_bedrooms_field_one,
@@ -328,7 +329,7 @@ def test_epc_select_social_housing_next_page(choice, duplicate_uprn, expected_ne
@pytest.mark.parametrize(
"choice, duplicate_uprn, epc_found, expected_next_page",
[
- (address_select_choice_field_select_address, field_no, field_no, benefits_page),
+ (address_select_choice_field_select_address, field_no, field_no, no_epc_page),
(address_select_choice_field_select_address, field_no, field_yes, epc_page),
(address_select_choice_field_select_address, field_yes, field_no, referral_already_submitted_page),
(address_select_choice_field_select_address, field_yes, field_yes, referral_already_submitted_page),
@@ -378,7 +379,7 @@ def test_address_select_not_park_home_next_page(choice, duplicate_uprn, epc_foun
@pytest.mark.parametrize(
"choice, duplicate_uprn, epc_found, expected_next_page",
[
- (address_select_choice_field_select_address, field_no, field_no, property_type_page),
+ (address_select_choice_field_select_address, field_no, field_no, no_epc_page),
(address_select_choice_field_select_address, field_no, field_yes, epc_page),
(address_select_choice_field_select_address, field_yes, field_no, referral_already_submitted_page),
(address_select_choice_field_select_address, field_yes, field_yes, referral_already_submitted_page),
@@ -409,7 +410,12 @@ def test_address_select_social_housing_next_page(choice, duplicate_uprn, epc_fou
)
def test_address_manual_next_page(flow, expected_next_page):
for flow_answers in get_property_flow_answers(flow):
- answers = {**flow_answers, epc_found_field: field_no, duplicate_uprn_field: field_no}
+ answers = {
+ **flow_answers,
+ epc_found_field: field_no,
+ duplicate_uprn_field: field_no,
+ address_choice_field: address_choice_field_enter_manually,
+ }
assert get_next_page(address_manual_page, answers) == expected_next_page
@@ -423,7 +429,12 @@ def test_address_manual_next_page(flow, expected_next_page):
)
def test_epc_select_manual_next_page(flow, expected_next_page):
for flow_answers in get_property_flow_answers(flow):
- answers = {**flow_answers, epc_found_field: field_no, duplicate_uprn_field: field_no}
+ answers = {
+ **flow_answers,
+ epc_found_field: field_no,
+ duplicate_uprn_field: field_no,
+ epc_select_choice_field: epc_select_choice_field_enter_manually,
+ }
assert get_next_page(epc_select_manual_page, answers) == expected_next_page
@@ -437,18 +448,23 @@ def test_epc_select_manual_next_page(flow, expected_next_page):
)
def test_address_select_manual_next_page(flow, expected_next_page):
for flow_answers in get_property_flow_answers(flow):
- answers = {**flow_answers, epc_found_field: field_no, duplicate_uprn_field: field_no}
+ answers = {
+ **flow_answers,
+ epc_found_field: field_no,
+ duplicate_uprn_field: field_no,
+ address_select_choice_field: address_select_choice_field_enter_manually,
+ }
assert get_next_page(address_select_manual_page, answers) == expected_next_page
@pytest.mark.parametrize(
"flow, epc_found, expected_next_page",
[
- (property_flow_park_home, field_no, benefits_page),
+ (property_flow_park_home, field_no, no_epc_page),
(property_flow_park_home, field_yes, epc_page),
(property_flow_main, field_no, council_tax_band_page),
(property_flow_main, field_yes, council_tax_band_page),
- (property_flow_social_housing, field_no, property_type_page),
+ (property_flow_social_housing, field_no, no_epc_page),
(property_flow_social_housing, field_yes, epc_page),
],
)
@@ -461,7 +477,7 @@ def test_referral_already_submitted_next_page(flow, epc_found, expected_next_pag
@pytest.mark.parametrize(
"epc_found, expected_next_page",
[
- (field_no, benefits_page),
+ (field_no, no_epc_page),
(field_yes, epc_page),
],
)
diff --git a/tests/test_frontdoor.py b/tests/test_frontdoor.py
index 2826220e..4b72bc36 100644
--- a/tests/test_frontdoor.py
+++ b/tests/test_frontdoor.py
@@ -443,10 +443,18 @@ def test_benefits_back_button_with_park_home_and_no_epc_should_return_to_address
assert data["uprn"] == "100023336956"
assert data["address"] == "10, DOWNING STREET, LONDON, CITY OF WESTMINSTER, SW1A 2AA"
+ assert page.has_one("h1:contains('We could not find an Energy Performance Certificate for your property')")
+ form = page.get_form()
+ page = form.submit().follow()
+
assert page.has_one("h1:contains('Is anyone in your household receiving any of the following benefits?')")
page = page.click(contains="Back")
+ assert page.has_one("h1:contains('We could not find an Energy Performance Certificate for your property')")
+
+ page = page.click(contains="Back")
+
assert page.has_one('h1:contains("Select your address")')
@@ -497,10 +505,18 @@ def test_benefits_back_button_with_park_home_and_scotland_should_return_to_addre
assert data["uprn"] == "100023336956"
assert data["address"] == "10, DOWNING STREET, LONDON, CITY OF WESTMINSTER, SW1A 2AA"
+ assert page.has_one("h1:contains('We could not find an Energy Performance Certificate for your property')")
+ form = page.get_form()
+ page = form.submit().follow()
+
assert page.has_one("h1:contains('Is anyone in your household receiving any of the following benefits?')")
page = page.click(contains="Back")
+ assert page.has_one("h1:contains('We could not find an Energy Performance Certificate for your property')")
+
+ page = page.click(contains="Back")
+
assert page.has_one('h1:contains("Select your address")')
@@ -546,10 +562,18 @@ def test_property_type_back_button_with_social_housing_and_no_epc_should_return_
assert data["uprn"] == "100023336956"
assert data["address"] == "10, DOWNING STREET, LONDON, CITY OF WESTMINSTER, SW1A 2AA"
+ assert page.has_one("h1:contains('We could not find an Energy Performance Certificate for your property')")
+ form = page.get_form()
+ page = form.submit().follow()
+
assert page.has_one("h1:contains('What kind of property do you have?')")
page = page.click(contains="Back")
+ assert page.has_one("h1:contains('We could not find an Energy Performance Certificate for your property')")
+
+ page = page.click(contains="Back")
+
assert page.has_one('h1:contains("Select your address")')
@@ -594,10 +618,18 @@ def test_property_type_back_button_with_social_housing_and_scotland_should_retur
assert data["uprn"] == "100023336956"
assert data["address"] == "10, DOWNING STREET, LONDON, CITY OF WESTMINSTER, SW1A 2AA"
+ assert page.has_one("h1:contains('We could not find an Energy Performance Certificate for your property')")
+ form = page.get_form()
+ page = form.submit().follow()
+
assert page.has_one("h1:contains('What kind of property do you have?')")
page = page.click(contains="Back")
+ assert page.has_one("h1:contains('We could not find an Energy Performance Certificate for your property')")
+
+ page = page.click(contains="Back")
+
assert page.has_one('h1:contains("Select your address")')
@@ -813,6 +845,10 @@ def test_epc_lookup_failure():
assert page.has_one("h1:contains('What is the council tax band of your property?')")
page = _check_page(page, "council-tax-band", "council_tax_band", "B")
+ assert page.has_one("h1:contains('We could not find an Energy Performance Certificate for your property')")
+ form = page.get_form()
+ page = form.submit().follow()
+
assert page.has_one("h1:contains('Is anyone in your household receiving any of the following benefits?')")
page = _check_page(page, "benefits", "benefits", "Yes")
From a7cdef482fdbbf891f9c80c80e1dd31fd2d1fd00 Mon Sep 17 00:00:00 2001
From: Samuel Young
Date: Thu, 24 Oct 2024 17:31:46 +0100
Subject: [PATCH 05/18] PC-1383: add translations for no epc page
---
help_to_heat/locale/cy/LC_MESSAGES/django.mo | Bin 93758 -> 95332 bytes
help_to_heat/locale/cy/LC_MESSAGES/django.po | 354 +++++++++++--------
2 files changed, 202 insertions(+), 152 deletions(-)
diff --git a/help_to_heat/locale/cy/LC_MESSAGES/django.mo b/help_to_heat/locale/cy/LC_MESSAGES/django.mo
index 49b6954e96bbf28711a247245289b503ac87feff..c08e408461c72300fe807d1ece39540fd24d5eb3 100644
GIT binary patch
delta 13340
zcmajl2YgP~|G@EcNr)gqNUX?>6(d3rv5CEds2#~8c}Pf}#FIqqhgMsArKqBUQlnPY
z>QJN9sMVp>qO_=0RZ55A|M}i?^{>C*|MmLcS5MyOd+s{-ta}sPd*1uXb#KqbQeF!c
zTlWG=Rm7>KlnN-Q)a|NLs#N1hrNXfZ2IDZaj>8DzmADp9<9y7muhb4K(tvB>#~6a`
z8Y)!?lkqJaiF1|mDE}y>f()hdF^(O(8!6?$V$n)fLl+Li*Ki;{l5&pk+gK?-;t5TZ
zlDf{sAl!;_-Vv1jcd#5jMsEyis#FyW#$fKRV#rW=m4Ib&KFWnQU^X5=dGhFHO7+1P
zP%g9q<-%KWIu$yG@`Qa_unz~J7Zz%%R4XisFJM<}iz~4?_g7cROu)(<)fZP_M|_A<
zp_Z+6h5BJ8aR!=r34PFrp|#K#T^NK?@mH`YK0>Kj;Wj$04oIk6c^(+xyvu@P7Xx1*eQ6iee7l$N=M
zvG_a6Ani!|OP@PX2J;xKg`P!ZlF95x8THk>>l0d{Jb8bV8;wG_!K+vum)ZLdBI8t@
z$6{Eqhptdfl&*|K6Pu!pi9uKdU07b`{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Q2U@GQdDj~}^
zc$sKR`3`O)T#5VSb%-UzkK}`hzla~n$Du422xnqV?u0mRTP&w`B0N|-m*^~;SW92>
z)07iff01%)*@oPUd^(;W&Qmv>kmV$iK`bCoCRP%M$va9|+kB7nh{{B){`}`9NHU!$
z#fDGu{n9xvKHeuGuW6t9QF-6yPI1aBT(~AM@7hjZ_q;jBj2hccI~ud&wvA0PoLshz
UtZQTjZ}aPAwDXvIW2lk+U%4R7{{R30
diff --git a/help_to_heat/locale/cy/LC_MESSAGES/django.po b/help_to_heat/locale/cy/LC_MESSAGES/django.po
index 451fab91..f88293d5 100644
--- a/help_to_heat/locale/cy/LC_MESSAGES/django.po
+++ b/help_to_heat/locale/cy/LC_MESSAGES/django.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2024-10-17 16:08+0000\n"
+"POT-Creation-Date: 2024-10-28 11:35+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME \n"
"Language-Team: LANGUAGE \n"
@@ -19,125 +19,125 @@ msgstr ""
"Plural-Forms: nplurals=4; plural=(n==1) ? 0 : (n==2) ? 1 : (n != 8 && n != "
"11) ? 2 : 3;\n"
-#: help_to_heat/frontdoor/schemas.py:140
+#: help_to_heat/frontdoor/schemas.py:141
msgid "Country of property"
msgstr "Gwlad yr eiddo"
-#: help_to_heat/frontdoor/schemas.py:141 help_to_heat/frontdoor/schemas.py:163
+#: help_to_heat/frontdoor/schemas.py:142 help_to_heat/frontdoor/schemas.py:164
msgid "Energy supplier"
msgstr "Cyflenwr ynni"
-#: help_to_heat/frontdoor/schemas.py:142
+#: help_to_heat/frontdoor/schemas.py:143
msgctxt "summary page"
msgid "Do you own the property?"
msgstr "Ydy'r eiddo yn perthyn i chi?"
-#: help_to_heat/frontdoor/schemas.py:143
+#: help_to_heat/frontdoor/schemas.py:144
#: help_to_heat/templates/frontdoor/park-home.html:14
msgid "Do you live in a park home?"
msgstr "Ydych chi'n byw mewn aelwyd mewn parc?"
-#: help_to_heat/frontdoor/schemas.py:144
+#: help_to_heat/frontdoor/schemas.py:145
#: help_to_heat/templates/frontdoor/park-home-main-residence.html:14
msgid "Is the park home your main residence?"
msgstr "Ai'r aelwyd mewn parc yw'ch prif breswylfa?"
-#: help_to_heat/frontdoor/schemas.py:145
+#: help_to_heat/frontdoor/schemas.py:146
msgid "Property address"
msgstr "Cyfeiriad yr eiddo"
-#: help_to_heat/frontdoor/schemas.py:146
+#: help_to_heat/frontdoor/schemas.py:147
msgid "Council tax band"
msgstr "Band treth gyngor"
-#: help_to_heat/frontdoor/schemas.py:147
+#: help_to_heat/frontdoor/schemas.py:148
msgid "Energy Performance Certificate"
msgstr "Dystysgrif Perfformiad Ynni"
-#: help_to_heat/frontdoor/schemas.py:149
+#: help_to_heat/frontdoor/schemas.py:150
msgctxt "summary page"
msgid "Is anyone in your household receiving any of the following benefits?"
msgstr ""
"Oes unrhyw un yn eich aelwyd chi'n cael unrhyw un o'r budd-daliadau canlynol?"
-#: help_to_heat/frontdoor/schemas.py:151
+#: help_to_heat/frontdoor/schemas.py:152
msgid "Annual household income"
msgstr "Incwm blynyddol yr aelwyd"
-#: help_to_heat/frontdoor/schemas.py:152 help_to_heat/frontdoor/schemas.py:153
+#: help_to_heat/frontdoor/schemas.py:153 help_to_heat/frontdoor/schemas.py:154
msgid "Property type"
msgstr "Math o eiddo"
-#: help_to_heat/frontdoor/schemas.py:154
+#: help_to_heat/frontdoor/schemas.py:155
msgid "Number of bedrooms"
msgstr "Nifer yr ystafelloedd gwely"
-#: help_to_heat/frontdoor/schemas.py:155
+#: help_to_heat/frontdoor/schemas.py:156
msgid "Property walls"
msgstr "Waliau'r eiddo"
-#: help_to_heat/frontdoor/schemas.py:156
+#: help_to_heat/frontdoor/schemas.py:157
msgctxt "summary page"
msgid "Are your walls insulated?"
msgstr "Ydy'ch waliau wedi'u hinswleiddio?"
-#: help_to_heat/frontdoor/schemas.py:157
+#: help_to_heat/frontdoor/schemas.py:158
msgid "Does this property have a loft?"
msgstr "Oes gan yr eiddo yma atig?"
-#: help_to_heat/frontdoor/schemas.py:158
+#: help_to_heat/frontdoor/schemas.py:159
#: help_to_heat/templates/frontdoor/loft-access.html:14
msgid "Is there access to your loft?"
msgstr "Oes modd mynd i'ch atig?"
-#: help_to_heat/frontdoor/schemas.py:159
+#: help_to_heat/frontdoor/schemas.py:160
msgid "Is there 100mm of insulation in your loft?"
msgstr "Oes 100mm o inswleiddiad yn eich atig?"
-#: help_to_heat/frontdoor/schemas.py:164
+#: help_to_heat/frontdoor/schemas.py:165
#: help_to_heat/templates/frontdoor/contact-details.html:23
msgid "First name"
msgstr "Enw cyntaf"
-#: help_to_heat/frontdoor/schemas.py:165
+#: help_to_heat/frontdoor/schemas.py:166
#: help_to_heat/templates/frontdoor/contact-details.html:26
msgid "Last name"
msgstr "Enw olaf"
-#: help_to_heat/frontdoor/schemas.py:166
+#: help_to_heat/frontdoor/schemas.py:167
#: help_to_heat/templates/frontdoor/contact-details.html:39
msgid "Contact number"
msgstr "Rhif ffôn"
-#: help_to_heat/frontdoor/schemas.py:167
+#: help_to_heat/frontdoor/schemas.py:168
msgid "Email"
msgstr "Ebost"
-#: help_to_heat/frontdoor/schemas.py:268 help_to_heat/frontdoor/schemas.py:415
+#: help_to_heat/frontdoor/schemas.py:271 help_to_heat/frontdoor/schemas.py:418
msgid "England"
msgstr "Lloegr"
-#: help_to_heat/frontdoor/schemas.py:272 help_to_heat/frontdoor/schemas.py:416
+#: help_to_heat/frontdoor/schemas.py:275 help_to_heat/frontdoor/schemas.py:419
msgid "Scotland"
msgstr "Yr Alban"
-#: help_to_heat/frontdoor/schemas.py:276 help_to_heat/frontdoor/schemas.py:417
+#: help_to_heat/frontdoor/schemas.py:279 help_to_heat/frontdoor/schemas.py:420
msgid "Wales"
msgstr "Cymru"
-#: help_to_heat/frontdoor/schemas.py:280
+#: help_to_heat/frontdoor/schemas.py:283
msgid "Northern Ireland"
msgstr "Gogledd Iwerddon"
-#: help_to_heat/frontdoor/schemas.py:287 help_to_heat/frontdoor/schemas.py:420
+#: help_to_heat/frontdoor/schemas.py:290 help_to_heat/frontdoor/schemas.py:423
msgid "Yes, I own my property and live in it"
msgstr "Ydy, mae'r eiddo'n perthyn i mi a dwi'n byw ynddo"
-#: help_to_heat/frontdoor/schemas.py:291 help_to_heat/frontdoor/schemas.py:421
+#: help_to_heat/frontdoor/schemas.py:294 help_to_heat/frontdoor/schemas.py:424
msgid "No, I am a tenant"
msgstr "Nac ydy. Tenant ydw i"
-#: help_to_heat/frontdoor/schemas.py:293 help_to_heat/frontdoor/schemas.py:301
+#: help_to_heat/frontdoor/schemas.py:296 help_to_heat/frontdoor/schemas.py:304
msgid ""
"If you are eligible for a referral through this service, your energy "
"supplier will need to check that you have your landlord’s "
@@ -147,205 +147,205 @@ msgstr ""
"i'ch cyflenwr ynni wirio bod gennych chi ganiatâd eich landlord i osod "
"unrhyw fesurau arbed ynni yn yr eiddo."
-#: help_to_heat/frontdoor/schemas.py:299 help_to_heat/frontdoor/schemas.py:422
+#: help_to_heat/frontdoor/schemas.py:302 help_to_heat/frontdoor/schemas.py:425
msgid "No, I am a social housing tenant"
msgstr "Nac ydy. Dwi'n denant tai cymdeithasol"
-#: help_to_heat/frontdoor/schemas.py:307 help_to_heat/frontdoor/schemas.py:423
+#: help_to_heat/frontdoor/schemas.py:310 help_to_heat/frontdoor/schemas.py:426
msgid ""
"Yes, I am the property owner but I lease the property to one or more tenants"
msgstr ""
"Ydy, mae'r eiddo'n perthyn i mi ond dwi'n gosod yr eiddo i un neu ragor o "
"denantiaid"
-#: help_to_heat/frontdoor/schemas.py:313
+#: help_to_heat/frontdoor/schemas.py:316
msgctxt "park home question option"
msgid "Yes"
msgstr "Ydw"
-#: help_to_heat/frontdoor/schemas.py:317
+#: help_to_heat/frontdoor/schemas.py:320
msgctxt "park home question option"
msgid "No"
msgstr "Nad ydw"
-#: help_to_heat/frontdoor/schemas.py:323 help_to_heat/frontdoor/schemas.py:333
+#: help_to_heat/frontdoor/schemas.py:326 help_to_heat/frontdoor/schemas.py:336
msgid "Yes"
msgstr "Ie"
-#: help_to_heat/frontdoor/schemas.py:327 help_to_heat/frontdoor/schemas.py:337
+#: help_to_heat/frontdoor/schemas.py:330 help_to_heat/frontdoor/schemas.py:340
msgid "No"
msgstr "Nage"
-#: help_to_heat/frontdoor/schemas.py:341 help_to_heat/frontdoor/schemas.py:459
-#: help_to_heat/frontdoor/schemas.py:465 help_to_heat/frontdoor/schemas.py:479
-#: help_to_heat/frontdoor/schemas.py:591 help_to_heat/frontdoor/schemas.py:609
-#: help_to_heat/frontdoor/schemas.py:701
+#: help_to_heat/frontdoor/schemas.py:344 help_to_heat/frontdoor/schemas.py:462
+#: help_to_heat/frontdoor/schemas.py:468 help_to_heat/frontdoor/schemas.py:482
+#: help_to_heat/frontdoor/schemas.py:594 help_to_heat/frontdoor/schemas.py:612
+#: help_to_heat/frontdoor/schemas.py:704
msgid "I do not know"
msgstr "Wn i ddim"
-#: help_to_heat/frontdoor/schemas.py:346
+#: help_to_heat/frontdoor/schemas.py:349
msgid "Not found"
msgstr "Heb ei ganfod"
-#: help_to_heat/frontdoor/schemas.py:375 help_to_heat/frontdoor/schemas.py:426
+#: help_to_heat/frontdoor/schemas.py:378 help_to_heat/frontdoor/schemas.py:429
msgctxt "yes no question option"
msgid "Yes"
msgstr "Oes"
-#: help_to_heat/frontdoor/schemas.py:379 help_to_heat/frontdoor/schemas.py:427
+#: help_to_heat/frontdoor/schemas.py:382 help_to_heat/frontdoor/schemas.py:430
msgctxt "yes no question option"
msgid "No"
msgstr "Nac oes"
-#: help_to_heat/frontdoor/schemas.py:385 help_to_heat/frontdoor/schemas.py:430
+#: help_to_heat/frontdoor/schemas.py:388 help_to_heat/frontdoor/schemas.py:433
msgid "Less than £31,000 a year"
msgstr "Llai na £31,000 y flwyddyn"
-#: help_to_heat/frontdoor/schemas.py:389 help_to_heat/frontdoor/schemas.py:431
+#: help_to_heat/frontdoor/schemas.py:392 help_to_heat/frontdoor/schemas.py:434
msgid "£31,000 or more a year"
msgstr "£31,000 y flwyddyn neu ragor"
-#: help_to_heat/frontdoor/schemas.py:395 help_to_heat/frontdoor/schemas.py:434
+#: help_to_heat/frontdoor/schemas.py:398 help_to_heat/frontdoor/schemas.py:437
msgid "House"
msgstr "Tŷ"
-#: help_to_heat/frontdoor/schemas.py:399 help_to_heat/frontdoor/schemas.py:435
+#: help_to_heat/frontdoor/schemas.py:402 help_to_heat/frontdoor/schemas.py:438
msgid "Bungalow"
msgstr "Byngalo"
-#: help_to_heat/frontdoor/schemas.py:403 help_to_heat/frontdoor/schemas.py:436
+#: help_to_heat/frontdoor/schemas.py:406 help_to_heat/frontdoor/schemas.py:439
msgid "Apartment, flat or maisonette"
msgstr "Rhandy, fflat neu fflat ddeulawr"
-#: help_to_heat/frontdoor/schemas.py:408
+#: help_to_heat/frontdoor/schemas.py:411
msgid "house"
msgstr "dŷ"
-#: help_to_heat/frontdoor/schemas.py:409
+#: help_to_heat/frontdoor/schemas.py:412
msgid "bungalow"
msgstr "fyngalo"
-#: help_to_heat/frontdoor/schemas.py:410
+#: help_to_heat/frontdoor/schemas.py:413
msgid "apartment, flat or maisonette"
msgstr "randy, fflat neu fflat ddeulawr"
-#: help_to_heat/frontdoor/schemas.py:437
+#: help_to_heat/frontdoor/schemas.py:440
msgid "Park home"
msgstr ""
-#: help_to_heat/frontdoor/schemas.py:440 help_to_heat/frontdoor/schemas.py:507
-#: help_to_heat/frontdoor/schemas.py:529
+#: help_to_heat/frontdoor/schemas.py:443 help_to_heat/frontdoor/schemas.py:510
+#: help_to_heat/frontdoor/schemas.py:532
msgid "Detached"
msgstr "Tŷ sengl"
-#: help_to_heat/frontdoor/schemas.py:441 help_to_heat/frontdoor/schemas.py:512
-#: help_to_heat/frontdoor/schemas.py:534
+#: help_to_heat/frontdoor/schemas.py:444 help_to_heat/frontdoor/schemas.py:515
+#: help_to_heat/frontdoor/schemas.py:537
msgid "Semi-detached"
msgstr "Tŷ pâr"
-#: help_to_heat/frontdoor/schemas.py:442 help_to_heat/frontdoor/schemas.py:517
-#: help_to_heat/frontdoor/schemas.py:539
+#: help_to_heat/frontdoor/schemas.py:445 help_to_heat/frontdoor/schemas.py:520
+#: help_to_heat/frontdoor/schemas.py:542
msgid "Terraced"
msgstr "Tŷ teras"
-#: help_to_heat/frontdoor/schemas.py:443 help_to_heat/frontdoor/schemas.py:522
-#: help_to_heat/frontdoor/schemas.py:544
+#: help_to_heat/frontdoor/schemas.py:446 help_to_heat/frontdoor/schemas.py:525
+#: help_to_heat/frontdoor/schemas.py:547
msgid "End terrace"
msgstr "Tŷ pen teras"
-#: help_to_heat/frontdoor/schemas.py:444 help_to_heat/frontdoor/schemas.py:488
+#: help_to_heat/frontdoor/schemas.py:447 help_to_heat/frontdoor/schemas.py:491
msgid "Top floor"
msgstr "Llawr uchaf"
-#: help_to_heat/frontdoor/schemas.py:445 help_to_heat/frontdoor/schemas.py:493
+#: help_to_heat/frontdoor/schemas.py:448 help_to_heat/frontdoor/schemas.py:496
msgid "Middle floor"
msgstr "Llawr canol"
-#: help_to_heat/frontdoor/schemas.py:446 help_to_heat/frontdoor/schemas.py:498
+#: help_to_heat/frontdoor/schemas.py:449 help_to_heat/frontdoor/schemas.py:501
msgid "Ground floor"
msgstr "Llawr daear"
-#: help_to_heat/frontdoor/schemas.py:449 help_to_heat/frontdoor/schemas.py:552
+#: help_to_heat/frontdoor/schemas.py:452 help_to_heat/frontdoor/schemas.py:555
msgid "Studio"
msgstr "Stiwdio"
-#: help_to_heat/frontdoor/schemas.py:450 help_to_heat/frontdoor/schemas.py:556
+#: help_to_heat/frontdoor/schemas.py:453 help_to_heat/frontdoor/schemas.py:559
msgid "One bedroom"
msgstr "Un ystafell wely"
-#: help_to_heat/frontdoor/schemas.py:451 help_to_heat/frontdoor/schemas.py:560
+#: help_to_heat/frontdoor/schemas.py:454 help_to_heat/frontdoor/schemas.py:563
msgid "Two bedrooms"
msgstr "Dwy ystafell wely"
-#: help_to_heat/frontdoor/schemas.py:452 help_to_heat/frontdoor/schemas.py:564
+#: help_to_heat/frontdoor/schemas.py:455 help_to_heat/frontdoor/schemas.py:567
msgid "Three or more bedrooms"
msgstr "Tair neu fwy o ystafelloedd gwely"
-#: help_to_heat/frontdoor/schemas.py:455 help_to_heat/frontdoor/schemas.py:571
+#: help_to_heat/frontdoor/schemas.py:458 help_to_heat/frontdoor/schemas.py:574
msgid "Solid walls"
msgstr "Waliau solet"
-#: help_to_heat/frontdoor/schemas.py:456 help_to_heat/frontdoor/schemas.py:575
+#: help_to_heat/frontdoor/schemas.py:459 help_to_heat/frontdoor/schemas.py:578
msgid "Cavity walls"
msgstr "Waliau ceudod"
-#: help_to_heat/frontdoor/schemas.py:457 help_to_heat/frontdoor/schemas.py:579
+#: help_to_heat/frontdoor/schemas.py:460 help_to_heat/frontdoor/schemas.py:582
msgid "Mix of solid and cavity walls"
msgstr "Cymysgedd o waliau solet a waliau ceudod"
-#: help_to_heat/frontdoor/schemas.py:458 help_to_heat/frontdoor/schemas.py:583
+#: help_to_heat/frontdoor/schemas.py:461 help_to_heat/frontdoor/schemas.py:586
msgid "I do not see my option listed"
msgstr "Dwi ddim yn gweld bod fy opsiwn i wedi'i restru"
-#: help_to_heat/frontdoor/schemas.py:462 help_to_heat/frontdoor/schemas.py:597
+#: help_to_heat/frontdoor/schemas.py:465 help_to_heat/frontdoor/schemas.py:600
msgid "Yes they are all insulated"
msgstr "Ydyn, maen nhw i gyd wedi'u hinswleiddio"
-#: help_to_heat/frontdoor/schemas.py:463 help_to_heat/frontdoor/schemas.py:601
+#: help_to_heat/frontdoor/schemas.py:466 help_to_heat/frontdoor/schemas.py:604
msgid "Some are insulated, some are not"
msgstr "Mae rhai wedi'u eu hinswleiddio, mae rhai heb"
-#: help_to_heat/frontdoor/schemas.py:464 help_to_heat/frontdoor/schemas.py:605
+#: help_to_heat/frontdoor/schemas.py:467 help_to_heat/frontdoor/schemas.py:608
msgid "No they are not insulated"
msgstr "Na, dydyn nhw ddim wedi'u hinswleiddio"
-#: help_to_heat/frontdoor/schemas.py:468 help_to_heat/frontdoor/schemas.py:615
+#: help_to_heat/frontdoor/schemas.py:471 help_to_heat/frontdoor/schemas.py:618
msgid "Yes, I have a loft that has not been converted into a room"
msgstr "Oes, mae gen i atig sydd heb ei droi'n ystafell"
-#: help_to_heat/frontdoor/schemas.py:469 help_to_heat/frontdoor/schemas.py:619
+#: help_to_heat/frontdoor/schemas.py:472 help_to_heat/frontdoor/schemas.py:622
msgid "No, I do not have a loft or my loft has been converted into a room"
msgstr "Nac oes, does gen i ddim atig neu mae fy atig i wedi'i droi'n ystafell"
-#: help_to_heat/frontdoor/schemas.py:472 help_to_heat/frontdoor/schemas.py:625
+#: help_to_heat/frontdoor/schemas.py:475 help_to_heat/frontdoor/schemas.py:628
msgid "Yes, there is access to my loft"
msgstr "Oes, mae modd mynd i'r atig"
-#: help_to_heat/frontdoor/schemas.py:473 help_to_heat/frontdoor/schemas.py:629
+#: help_to_heat/frontdoor/schemas.py:476 help_to_heat/frontdoor/schemas.py:632
msgid "No, there is no access to my loft"
msgstr "Nac oes, does dim modd mynd i'r atig"
-#: help_to_heat/frontdoor/schemas.py:474 help_to_heat/frontdoor/schemas.py:480
+#: help_to_heat/frontdoor/schemas.py:477 help_to_heat/frontdoor/schemas.py:483
msgid "No loft"
msgstr "Dim atig"
-#: help_to_heat/frontdoor/schemas.py:477 help_to_heat/frontdoor/schemas.py:693
+#: help_to_heat/frontdoor/schemas.py:480 help_to_heat/frontdoor/schemas.py:696
msgid "I have more than 100mm of loft insulation"
msgstr "Mae gen i fwy na 100mm o inswleiddiad atig"
-#: help_to_heat/frontdoor/schemas.py:478 help_to_heat/frontdoor/schemas.py:697
+#: help_to_heat/frontdoor/schemas.py:481 help_to_heat/frontdoor/schemas.py:700
msgid "I have up to 100mm of loft insulation"
msgstr "Mae gen i hyd at 100mm o inswleiddiad atig"
-#: help_to_heat/frontdoor/schemas.py:489
+#: help_to_heat/frontdoor/schemas.py:492
msgid "Sits directly below the roof with no other flat above it"
msgstr "Yn gorwedd yn union o dan y to heb unrhyw fflat arall uwch ei phen"
-#: help_to_heat/frontdoor/schemas.py:494
+#: help_to_heat/frontdoor/schemas.py:497
msgid "Has another flat above, and another below"
msgstr "Mae fflat arall uwchben, ac un arall odani"
-#: help_to_heat/frontdoor/schemas.py:500
+#: help_to_heat/frontdoor/schemas.py:503
msgid ""
"The lowest flat in the building with no flat beneath - typically at street "
"level but may be a basement"
@@ -353,24 +353,24 @@ msgstr ""
"Y fflat isaf yn yr adeilad heb fflat odani - fel arfer ar lefel y stryd ond "
"gall fod yn islawr"
-#: help_to_heat/frontdoor/schemas.py:508 help_to_heat/frontdoor/schemas.py:530
+#: help_to_heat/frontdoor/schemas.py:511 help_to_heat/frontdoor/schemas.py:533
msgid "Does not share any of its walls with another house or building"
msgstr "Nid yw'n rhannu unrhyw un o'i waliau â thŷ neu adeilad arall"
-#: help_to_heat/frontdoor/schemas.py:513 help_to_heat/frontdoor/schemas.py:535
+#: help_to_heat/frontdoor/schemas.py:516 help_to_heat/frontdoor/schemas.py:538
msgid "Is attached to one other house or building"
msgstr "Mae wedi'i gysylltu ag un tŷ neu adeilad arall"
-#: help_to_heat/frontdoor/schemas.py:518 help_to_heat/frontdoor/schemas.py:540
+#: help_to_heat/frontdoor/schemas.py:521 help_to_heat/frontdoor/schemas.py:543
msgid "Sits in the middle with a house or building on each side"
msgstr "Yn sefyll yn y canol gyda thŷ neu adeilad o boptu iddo"
-#: help_to_heat/frontdoor/schemas.py:523 help_to_heat/frontdoor/schemas.py:545
+#: help_to_heat/frontdoor/schemas.py:526 help_to_heat/frontdoor/schemas.py:548
msgid ""
"Sits at the end of a row of similar houses with one house attached to it"
msgstr "Yn sefyll ar ben rhes o dai tebyg gydag un tŷ ynghlwm wrtho"
-#: help_to_heat/frontdoor/schemas.py:585
+#: help_to_heat/frontdoor/schemas.py:588
msgid ""
"Other wall types could include cob walls, timber framed, system built, steel "
"framed or other non-traditional build types"
@@ -378,173 +378,173 @@ msgstr ""
"Gallai mathau eraill o waliau gynnwys waliau cob, waliau ffrâm pren, "
"adeiladu system, fframiau dur neu fathau eraill o adeiladau anhraddodiadol"
-#: help_to_heat/frontdoor/schemas.py:646
+#: help_to_heat/frontdoor/schemas.py:649
msgid "Bulb, now part of Octopus Energy"
msgstr "Bulb, sydd bellach yn rhan o Octopus"
-#: help_to_heat/frontdoor/schemas.py:712
+#: help_to_heat/frontdoor/schemas.py:715
msgid "Completely agree"
msgstr "Cytuno'n llwyr"
-#: help_to_heat/frontdoor/schemas.py:716
+#: help_to_heat/frontdoor/schemas.py:719
msgid "Agree"
msgstr "Cytuno"
-#: help_to_heat/frontdoor/schemas.py:720
+#: help_to_heat/frontdoor/schemas.py:723
msgid "Neutral"
msgstr "Niwtral"
-#: help_to_heat/frontdoor/schemas.py:724
+#: help_to_heat/frontdoor/schemas.py:727
msgid "Disagree"
msgstr "Anghytuno"
-#: help_to_heat/frontdoor/schemas.py:728
+#: help_to_heat/frontdoor/schemas.py:731
msgid "Completely disagree"
msgstr "Anghytuno'n llwyr"
-#: help_to_heat/frontdoor/schemas.py:735
+#: help_to_heat/frontdoor/schemas.py:738
msgid "Very satisfied"
msgstr "Bodlon iawn"
-#: help_to_heat/frontdoor/schemas.py:739
+#: help_to_heat/frontdoor/schemas.py:742
msgid "Somewhat satisfied"
msgstr "Eithaf bodlon"
-#: help_to_heat/frontdoor/schemas.py:743
+#: help_to_heat/frontdoor/schemas.py:746
msgid "Neither satisfied nor dissatisfied"
msgstr "Ddim yn fodlon nac yn anfodlon"
-#: help_to_heat/frontdoor/schemas.py:747
+#: help_to_heat/frontdoor/schemas.py:750
msgid "Somewhat dissatisfied"
msgstr "Eithaf anfodlon"
-#: help_to_heat/frontdoor/schemas.py:751
+#: help_to_heat/frontdoor/schemas.py:754
msgid "Very dissatisfied"
msgstr "Anfodlon iawn"
-#: help_to_heat/frontdoor/schemas.py:758
+#: help_to_heat/frontdoor/schemas.py:761
msgid "To find ways to reduce my energy bills"
msgstr "Dod o hyd i ffyrdd i leihau fy miliau ynni"
-#: help_to_heat/frontdoor/schemas.py:762
+#: help_to_heat/frontdoor/schemas.py:765
msgid "To find ways to reduce my carbon emissions"
msgstr "Dod o hyd i ffyrdd i leihau fy allyriadau carbon"
-#: help_to_heat/frontdoor/schemas.py:766
+#: help_to_heat/frontdoor/schemas.py:769
msgid "To find ways to install a specific measure in my home"
msgstr "Dod o hyd i ffyrdd o osod mesur penodol yn fy nghartref"
-#: help_to_heat/frontdoor/schemas.py:770
+#: help_to_heat/frontdoor/schemas.py:773
msgid "To find ways to improve my EPC rating"
msgstr "Dod o hyd i ffyrdd i wella fy sgôr EPC"
-#: help_to_heat/frontdoor/schemas.py:774
+#: help_to_heat/frontdoor/schemas.py:777
msgid "To find ways to make my home more comfortable"
msgstr "Dod o hyd i ffyrdd i wneud fy nghartref yn fwy cyffyrddus"
-#: help_to_heat/frontdoor/schemas.py:778
+#: help_to_heat/frontdoor/schemas.py:781
msgid "Other"
msgstr "Arall"
-#: help_to_heat/frontdoor/schemas.py:865
+#: help_to_heat/frontdoor/schemas.py:869
msgid "Enter a valid UK postcode"
msgstr "Rhowch god post dilys yn y Deyrnas Unedig"
-#: help_to_heat/frontdoor/schemas.py:870
+#: help_to_heat/frontdoor/schemas.py:874
msgid "Invalid email format"
msgstr "Fformat ebost annilys"
-#: help_to_heat/frontdoor/schemas.py:880 help_to_heat/frontdoor/schemas.py:884
+#: help_to_heat/frontdoor/schemas.py:884 help_to_heat/frontdoor/schemas.py:888
msgid ""
"Enter a telephone number, like 01632 960 001, 07700 900 982 or +44 808 157 "
"0192"
msgstr "Rhowch rif ffôn, fel 01632 960 001, 07700 900 982 neu +44 808 157 0192"
-#: help_to_heat/frontdoor/schemas.py:896
+#: help_to_heat/frontdoor/schemas.py:900
msgid "Energy Company Obligation 4"
msgstr "Rhwymedigaeth Cwmni Ynni 4"
-#: help_to_heat/frontdoor/schemas.py:897
+#: help_to_heat/frontdoor/schemas.py:901
msgid "Great British Insulation Scheme"
msgstr "Cynllun Inswleiddio Mawr Prydain"
-#: help_to_heat/frontdoor/views.py:198
+#: help_to_heat/frontdoor/views.py:200
msgid "Select where the property is located"
msgstr "Dewiswch beth yw lleoliad yr eiddo"
-#: help_to_heat/frontdoor/views.py:199
+#: help_to_heat/frontdoor/views.py:201
msgid "Select if you own the property"
msgstr "Dewiswch os yw'r eiddo'n perthyn i chi"
-#: help_to_heat/frontdoor/views.py:200
+#: help_to_heat/frontdoor/views.py:202
msgid "Select if you live in a park home"
msgstr "Dewiswch os ydych chi’n byw mewn aelwyd mewn parc "
-#: help_to_heat/frontdoor/views.py:201
+#: help_to_heat/frontdoor/views.py:203
msgid "Select if the park home is your main residence"
msgstr "Dewiswch os eich aelwyd mewn parc yw’ch prif breswylfa "
-#: help_to_heat/frontdoor/views.py:202
+#: help_to_heat/frontdoor/views.py:204
msgid "Enter building name or number"
msgstr "Rhowch enw neu rif yr adeilad"
-#: help_to_heat/frontdoor/views.py:203
+#: help_to_heat/frontdoor/views.py:205
msgid "Enter Address line 1"
msgstr "Rhowch linell 1 y cyfeiriad"
-#: help_to_heat/frontdoor/views.py:204
+#: help_to_heat/frontdoor/views.py:206
msgid "Enter a postcode"
msgstr "Rhowch god post"
-#: help_to_heat/frontdoor/views.py:205 help_to_heat/frontdoor/views.py:206
+#: help_to_heat/frontdoor/views.py:207 help_to_heat/frontdoor/views.py:208
msgid ""
"Select your address, or I can't find my address if your address is not listed"
msgstr ""
"Dewiswch eich cyfeiriad, neu ‘Dwi’n methu gweld fy nghyfeiriad i’ os nad "
"yw'ch cyfeiriad wedi'i restru"
-#: help_to_heat/frontdoor/views.py:207
+#: help_to_heat/frontdoor/views.py:209
msgid "Enter your Town or city"
msgstr "Rhowch eich tref neu'ch dinas"
-#: help_to_heat/frontdoor/views.py:208
+#: help_to_heat/frontdoor/views.py:210
msgid "Please confirm that you want to submit another referral"
msgstr "A wnewch chi gadarnhau eich bod eisiau cyflwyno atgyfeiriad arall"
-#: help_to_heat/frontdoor/views.py:209
+#: help_to_heat/frontdoor/views.py:211
msgid "Enter the Council Tax Band of the property"
msgstr "Rhowch Fand Treth Gyngor yr eiddo"
-#: help_to_heat/frontdoor/views.py:210
+#: help_to_heat/frontdoor/views.py:212
msgid "Select if your EPC rating is correct or not, or that you do not know"
msgstr ""
"Dewiswch a yw eich cyfraddiad EPC yn gywir neu beidio, neu nad ydych chi'n "
"gwybod"
-#: help_to_heat/frontdoor/views.py:211
+#: help_to_heat/frontdoor/views.py:213
msgid ""
"Select if anyone in your household is receiving any benefits listed below"
msgstr ""
"Dewiswch a oes unrhyw un yn eich aelwyd chi'n cael unrhyw un neu ragor o'r "
"budd-daliadau isod"
-#: help_to_heat/frontdoor/views.py:212
+#: help_to_heat/frontdoor/views.py:214
msgid "Select your household income"
msgstr "Dewiswch incwm eich aelwyd"
-#: help_to_heat/frontdoor/views.py:213 help_to_heat/frontdoor/views.py:214
+#: help_to_heat/frontdoor/views.py:215 help_to_heat/frontdoor/views.py:216
msgid "Select your property type"
msgstr "Dewiswch eich math o eiddo"
-#: help_to_heat/frontdoor/views.py:215
+#: help_to_heat/frontdoor/views.py:217
msgid "Select the number of bedrooms the property has"
msgstr "Dewiswch nifer yr ystafelloedd gwely sydd gan yr eiddo"
-#: help_to_heat/frontdoor/views.py:216
+#: help_to_heat/frontdoor/views.py:218
msgid "Select the type of walls the property has"
msgstr "Dewiswch y math o waliau sydd gan yr eiddo"
-#: help_to_heat/frontdoor/views.py:217
+#: help_to_heat/frontdoor/views.py:219
msgid ""
"Select if the walls of the property are insulated or not, or if you do not "
"know"
@@ -552,40 +552,40 @@ msgstr ""
"Dewiswch a ydy waliau'r eiddo wedi'u hinswleiddio neu beidio, neu nad ydych "
"chi'n gwybod"
-#: help_to_heat/frontdoor/views.py:218
+#: help_to_heat/frontdoor/views.py:220
msgid "Select if you have a loft that has been converted into a room or not"
msgstr "Dewiswch a oes gennych chi atig sydd wedi'i droi'n ystafell neu beidio"
-#: help_to_heat/frontdoor/views.py:219
+#: help_to_heat/frontdoor/views.py:221
msgid "Select whether or not you have access to the loft"
msgstr "Dewiswch a oes modd mynd i'r atig neu beidio"
-#: help_to_heat/frontdoor/views.py:220
+#: help_to_heat/frontdoor/views.py:222
msgid "Select whether or not your loft is fully insulated"
msgstr "Dewiswch a ydy'ch atig wedi'i inswleiddio'n llawn neu beidio"
-#: help_to_heat/frontdoor/views.py:221
+#: help_to_heat/frontdoor/views.py:223
#: help_to_heat/templates/frontdoor/supplier.html:14
msgid "Select your home energy supplier from the list below"
msgstr "Dewiswch eich cyflenwr ynni cartref chi o blith y rhestr isod"
-#: help_to_heat/frontdoor/views.py:222
+#: help_to_heat/frontdoor/views.py:224
msgid "Enter your first name"
msgstr "Rhowch eich enw cyntaf"
-#: help_to_heat/frontdoor/views.py:223
+#: help_to_heat/frontdoor/views.py:225
msgid "Enter your last name"
msgstr "Rhowch eich enw olaf"
-#: help_to_heat/frontdoor/views.py:224
+#: help_to_heat/frontdoor/views.py:226
msgid "Enter your email address"
msgstr "Rhowch eich cyfeiriad ebost"
-#: help_to_heat/frontdoor/views.py:225
+#: help_to_heat/frontdoor/views.py:227
msgid "Enter your contact number"
msgstr "Rhowch eich rhif ffôn"
-#: help_to_heat/frontdoor/views.py:227 help_to_heat/frontdoor/views.py:230
+#: help_to_heat/frontdoor/views.py:229 help_to_heat/frontdoor/views.py:232
msgid ""
"Please confirm that you agree to the use of your information by checking "
"this box"
@@ -593,7 +593,7 @@ msgstr ""
"Rhowch gadarnhad eich bod yn cytuno i'ch gwybodaeth gael ei defnyddio drwy "
"roi tic yn y blwch hwn"
-#: help_to_heat/frontdoor/views.py:233
+#: help_to_heat/frontdoor/views.py:235
msgid ""
"Please confirm that you understand your home must be sufficiently ventilated "
"before any insulation is installed"
@@ -601,7 +601,7 @@ msgstr ""
"Rhowch gadarnhad eich bod yn deall bod rhaid bod i’ch cartref fod wedi’i "
"awyru’n ddigonol cyn i unrhyw inswleiddiad gael ei osod"
-#: help_to_heat/frontdoor/views.py:237
+#: help_to_heat/frontdoor/views.py:239
msgid ""
"Please confirm that you understand you may be required to contribute towards "
"the cost of installing insulation"
@@ -609,55 +609,55 @@ msgstr ""
"Rhowch gadarnhad eich bod yn deall y gall fod angen ichi gyfrannu at gost "
"gosod inswleiddiad"
-#: help_to_heat/frontdoor/views.py:242
+#: help_to_heat/frontdoor/views.py:244
msgid "January"
msgstr "Ionawr"
-#: help_to_heat/frontdoor/views.py:243
+#: help_to_heat/frontdoor/views.py:245
msgid "February"
msgstr "Chwefror"
-#: help_to_heat/frontdoor/views.py:244
+#: help_to_heat/frontdoor/views.py:246
msgid "March"
msgstr "Mawrth"
-#: help_to_heat/frontdoor/views.py:245
+#: help_to_heat/frontdoor/views.py:247
msgid "April"
msgstr "Ebrill"
-#: help_to_heat/frontdoor/views.py:246
+#: help_to_heat/frontdoor/views.py:248
msgid "May"
msgstr "Mai"
-#: help_to_heat/frontdoor/views.py:247
+#: help_to_heat/frontdoor/views.py:249
msgid "June"
msgstr "Mehefin"
-#: help_to_heat/frontdoor/views.py:248
+#: help_to_heat/frontdoor/views.py:250
msgid "July"
msgstr "Gorffennaf"
-#: help_to_heat/frontdoor/views.py:249
+#: help_to_heat/frontdoor/views.py:251
msgid "August"
msgstr "Awst"
-#: help_to_heat/frontdoor/views.py:250
+#: help_to_heat/frontdoor/views.py:252
msgid "September"
msgstr "Medi"
-#: help_to_heat/frontdoor/views.py:251
+#: help_to_heat/frontdoor/views.py:253
msgid "October"
msgstr "Hydref"
-#: help_to_heat/frontdoor/views.py:252
+#: help_to_heat/frontdoor/views.py:254
msgid "November"
msgstr "Tachwedd"
-#: help_to_heat/frontdoor/views.py:253
+#: help_to_heat/frontdoor/views.py:255
msgid "December"
msgstr "Rhagfyr"
-#: help_to_heat/frontdoor/views.py:635 help_to_heat/frontdoor/views.py:710
+#: help_to_heat/frontdoor/views.py:637 help_to_heat/frontdoor/views.py:712
msgid "I cannot find my address, I want to enter it manually"
msgstr "Dwi'n methu gweld fy nghyfeiriad i. Hoffwn ei roi fy hunan."
@@ -970,6 +970,7 @@ msgstr ""
"Beth os ydw i wedi cael Tystysgrif Perfformiad Ynni newydd yn ddiweddar?"
#: help_to_heat/templates/frontdoor/address-select.html:36
+#: help_to_heat/templates/frontdoor/no-epc.html:22
#, python-format
msgid ""
"If your property has had a new EPC issued since 1 %(current_month)s, we may "
@@ -2061,6 +2062,55 @@ msgstr ""
"ddefnyddio fel lle byw gyda waliau a nenfydau gorffenedig, yna mae'r atig "
"wedi'i droi'n ystafell."
+#: help_to_heat/templates/frontdoor/no-epc.html:5
+msgid ""
+"We could not find and Energy Performance Certificate for your property - "
+"Check eligibility for Great British Insulation Scheme - GOV.UK"
+msgstr ""
+"Rydyn ni wedi methu dod o hyd i Dystysgrif Perfformiad Ynni ar gyfer eich "
+"eiddo chi - Gwirio’ch cymhwystra ar gyfer Cynllun Inswleiddio Mawr Prydain - "
+"GOV.UK"
+
+#: help_to_heat/templates/frontdoor/no-epc.html:10
+msgid "We could not find an Energy Performance Certificate for your property"
+msgstr ""
+"Rydyn ni wedi methu dod o hyd i Dystysgrif Perfformiad Ynni ar gyfer eich "
+"eiddo chi"
+
+#: help_to_heat/templates/frontdoor/no-epc.html:12
+msgid "This may be because:"
+msgstr "Rhesymau posibl am hyn yw:"
+
+#: help_to_heat/templates/frontdoor/no-epc.html:15
+msgid "your property was issued an EPC within the last month"
+msgstr "bod EPC wedi’i rhoi i'ch eiddo yn y mis diwethaf"
+
+#: help_to_heat/templates/frontdoor/no-epc.html:17
+msgid "your property was issued an EPC within the last quarter"
+msgstr "bod EPC wedi’i rhoi i'ch eiddo yn y chwarter diwethaf"
+
+#: help_to_heat/templates/frontdoor/no-epc.html:19
+msgid "your property has not previously been issued an EPC"
+msgstr "nad oes EPC wedi’i rhoi i’ch eiddo o'r blaen"
+
+#: help_to_heat/templates/frontdoor/no-epc.html:24
+#, python-format
+msgid ""
+"If your property was issued an EPC since 1 %(current_quarter_month)s, we may "
+"not be able to find it in our database because it is updated quarterly. "
+"Please return to this service after 1 %(next_quarter_month)s when we expect "
+"the database to have been updated."
+msgstr ""
+"Os yw’ch eiddo wedi cael EPC ers 1 %(current_quarter_month)s, efallai na "
+"fyddwn yn gallu dod o hyd iddi yn ein cronfa ddata am mai bob chwarter y "
+"bydd honno’n cael ei diweddaru. Dewch yn ôl i’r gwasanaeth yma ar ôl 1 "
+"%(next_quarter_month)s pan ydyn ni’n disgwyl y bydd y gronfa ddata wedi'i "
+"diweddaru."
+
+#: help_to_heat/templates/frontdoor/no-epc.html:27
+msgid "You may continue using this service without an EPC."
+msgstr "Cewch barhau i ddefnyddio'r gwasanaeth yma heb EPC."
+
#: help_to_heat/templates/frontdoor/northern-ireland.html:4
msgid ""
"Northern Ireland - Check eligibility for Great British Insulation Scheme - "
From 7c53c8e8b855d680c7949f65ff2d770dcbab34a2 Mon Sep 17 00:00:00 2001
From: Samuel Young
Date: Thu, 24 Oct 2024 17:42:21 +0100
Subject: [PATCH 06/18] PC-1380: remove EPC warning dropdown on address select
---
help_to_heat/frontdoor/views.py | 8 ---
help_to_heat/locale/cy/LC_MESSAGES/django.mo | Bin 95332 -> 94949 bytes
help_to_heat/locale/cy/LC_MESSAGES/django.po | 61 +++++++++---------
.../templates/frontdoor/address-select.html | 16 -----
4 files changed, 29 insertions(+), 56 deletions(-)
diff --git a/help_to_heat/frontdoor/views.py b/help_to_heat/frontdoor/views.py
index 2e6bd4f4..34919e98 100644
--- a/help_to_heat/frontdoor/views.py
+++ b/help_to_heat/frontdoor/views.py
@@ -688,16 +688,11 @@ def save_post_data(self, data, session_id, page_name):
@register_page(address_select_page)
class AddressSelectView(PageView):
def build_extra_context(self, request, session_id, page_name, data, is_change_page):
- session_data = interface.api.session.get_session(session_id)
- show_epc_update_details = session_data.get(country_field) in [country_field_wales, country_field_england]
-
data = interface.api.session.get_answer(session_id, address_page)
building_name_or_number = data[address_building_name_or_number_field]
postcode = data[address_postcode_field]
addresses = interface.api.address.find_addresses(building_name_or_number, postcode)
- current_month, next_month = utils.get_current_and_next_month_names(month_names)
-
uprn_options = tuple(
{
"value": a["uprn"],
@@ -717,9 +712,6 @@ def build_extra_context(self, request, session_id, page_name, data, is_change_pa
return {
"uprn_options": uprn_options,
"manual_url": page_name_to_url(session_id, address_select_manual_page, is_change_page),
- "current_month": current_month,
- "next_month": next_month,
- "show_epc_update_details": show_epc_update_details,
"fallback_option": fallback_option,
}
diff --git a/help_to_heat/locale/cy/LC_MESSAGES/django.mo b/help_to_heat/locale/cy/LC_MESSAGES/django.mo
index c08e408461c72300fe807d1ece39540fd24d5eb3..2b8f46e461de4639cfa4947391c3f81f8283b68b 100644
GIT binary patch
delta 10346
zcmXZi2Yim#9>DSQAR>_=8%df(_D+xlK|&-E5s}&}ksvW+MOBU0sM)IMQ(95AHAX2)
zMN3PmYOAPKirZ_enpaB|y}$o^-hA%c@A;o+ob&w8c;3XlcFXSibvw&t_c}`yKb>nS
z<%d(;mGY>q)Wr~~RVpG;sThnzf9#2JUIoVCV%&gV<6V(^!*}jHno|GV>#X-i~KWe
zYBv=F@e%rBH}c;fN23hEk64J;u@82j*G2ddGJ5JI24I^UeV+lifOtQS$DB?|y@LBt
zGItT}@TP@=^z<&;<3A{4Ry$XB#1-YjXq41-LfTS&(F@n2TvvmhcmO3cXE7gdqD;~h
z@-Jgvfc`iXqtG&k!e9#9QD(h&p1vRs<;gpuG*pbzz(fqgw{6FFBJ))Jh)(F#MR%wX
z)*}wWK#W3}6S?Ssh1giu|4<4{NHq(kfx{@NynxR53>~o^k3$>E17*1uqZ~I;R?TXZ
zCwhuRX_9wsH(5ehcMB+fnAkNt}askzrL8
zud>_Wew37kF;itsJD{Yx6S`tC$`FplAgn~`$POGq`|2VEX|N-^%QGy;`i4@&SZhhd
z6L>s%(#9v`_e->-cM4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fDn9U1THPOiLyuz`6xGTv}B
z9itKr!%T|uH2lrpQSpwx9D8Ffj*4)tLn@3CU3hmkPecWTv>_+NUWbOH=jz+3GV=WG
z`Oi()Xw&rt(N=p-OLJRvOh`@6Z_T?I?PP{&D(=BPopPV
z%%qqITkCc^(dd9r~##AUqYk4fh-iM#-FPfSN6#C#Pq(0FC`ZxrF!l%uZZ>_!0|
zElB;$d2EcfpId92`x^~3p6&LE{a|`4OLkFVX@23@TuWJgXy5xhg*i`<`!Cp6^$*-u?(GHDb33-v6SQ%kIT=_jWkm}Ne;{(MrQ5=OHPrcu&7k7
z%GLKM%q^4qMDO1C$%svf9kWJ`EX&Tb49zOe%NlFR%N=UT|F!)6V$1Ndtdgw4tlZK(
zOI}%_B`2pS$5Ld;n~-BW&K2p)7Y#BB0_2L}S-B%Ex%p(4PAK8O;l-3rITLbn_PJ*m
HKY0BgtTKeH
diff --git a/help_to_heat/locale/cy/LC_MESSAGES/django.po b/help_to_heat/locale/cy/LC_MESSAGES/django.po
index f88293d5..e0954c11 100644
--- a/help_to_heat/locale/cy/LC_MESSAGES/django.po
+++ b/help_to_heat/locale/cy/LC_MESSAGES/django.po
@@ -657,7 +657,7 @@ msgstr "Tachwedd"
msgid "December"
msgstr "Rhagfyr"
-#: help_to_heat/frontdoor/views.py:637 help_to_heat/frontdoor/views.py:712
+#: help_to_heat/frontdoor/views.py:637 help_to_heat/frontdoor/views.py:707
msgid "I cannot find my address, I want to enter it manually"
msgstr "Dwi'n methu gweld fy nghyfeiriad i. Hoffwn ei roi fy hunan."
@@ -963,37 +963,6 @@ msgstr "Heb ddod o hyd i unrhyw gyfeiriadau"
msgid "Enter address manually"
msgstr "Rhowch y cyfeiriad eich hunan"
-#: help_to_heat/templates/frontdoor/address-select.html:32
-#: help_to_heat/templates/frontdoor/epc.html:19
-msgid "What if I have had a new EPC issued recently?"
-msgstr ""
-"Beth os ydw i wedi cael Tystysgrif Perfformiad Ynni newydd yn ddiweddar?"
-
-#: help_to_heat/templates/frontdoor/address-select.html:36
-#: help_to_heat/templates/frontdoor/no-epc.html:22
-#, python-format
-msgid ""
-"If your property has had a new EPC issued since 1 %(current_month)s, we may "
-"not be able to find it in our database because it is only updated monthly. "
-"Please return to this service after 1 %(next_month)s when we expect the "
-"database to have been updated."
-msgstr ""
-"Os oes Tystysgrif Perfformiad Ynni newydd wedi cael ei chyhoeddi ar gyfer "
-"eich eiddo ers 1 %(current_month)s, efallai na fyddwn yn gallu dod o hyd "
-"iddi yn ein cronfa ddata gan mai dim ond yn fisol y caiff ei diweddaru. "
-"Dewch yn ôl at y gwasanaeth hwn ar ôl 1 %(next_month)s. Disgwyliwn y bydd y "
-"gronfa ddata wedi cael ei diweddaru erbyn hynny."
-
-#: help_to_heat/templates/frontdoor/address-select.html:38
-msgid ""
-"You can continue without your EPC having been found by this service, but the "
-"energy supplier you have selected may not be able to help if they do not "
-"have your new EPC."
-msgstr ""
-"Gallwch barhau heb i’r gwasanaeth hwn ddod o hyd i’ch Tystysgrif Perfformiad "
-"Ynni, ond efallai na fydd y cyflenwr ynni rydych chi wedi’i ddewis yn gallu "
-"helpu heb gael eich tystysgrif newydd."
-
#: help_to_heat/templates/frontdoor/address.html:5
msgid ""
"What is the property address? - Check eligibility for Great British "
@@ -1570,6 +1539,11 @@ msgstr ""
"Fe allai'r dystysgrif yma fod wedi'i chofrestru ar gyfer eich eiddo chi neu "
"un o'r eiddo cyfagos sy'n rhannu rhan o'ch cyfeiriad."
+#: help_to_heat/templates/frontdoor/epc.html:19
+msgid "What if I have had a new EPC issued recently?"
+msgstr ""
+"Beth os ydw i wedi cael Tystysgrif Perfformiad Ynni newydd yn ddiweddar?"
+
#: help_to_heat/templates/frontdoor/epc.html:23
#, python-format
msgid ""
@@ -2093,6 +2067,20 @@ msgstr "bod EPC wedi’i rhoi i'ch eiddo yn y chwarter diwethaf"
msgid "your property has not previously been issued an EPC"
msgstr "nad oes EPC wedi’i rhoi i’ch eiddo o'r blaen"
+#: help_to_heat/templates/frontdoor/no-epc.html:22
+#, python-format
+msgid ""
+"If your property has had a new EPC issued since 1 %(current_month)s, we may "
+"not be able to find it in our database because it is only updated monthly. "
+"Please return to this service after 1 %(next_month)s when we expect the "
+"database to have been updated."
+msgstr ""
+"Os oes Tystysgrif Perfformiad Ynni newydd wedi cael ei chyhoeddi ar gyfer "
+"eich eiddo ers 1 %(current_month)s, efallai na fyddwn yn gallu dod o hyd "
+"iddi yn ein cronfa ddata gan mai dim ond yn fisol y caiff ei diweddaru. "
+"Dewch yn ôl at y gwasanaeth hwn ar ôl 1 %(next_month)s. Disgwyliwn y bydd y "
+"gronfa ddata wedi cael ei diweddaru erbyn hynny."
+
#: help_to_heat/templates/frontdoor/no-epc.html:24
#, python-format
msgid ""
@@ -3576,3 +3564,12 @@ msgstr "Darganfyddwch a allwch chi gael cymorth gan eich cyngor lleol drwy'r "
#: help_to_heat/templates/macros.html:141
msgid "Household Support Fund"
msgstr "Gronfa Cymorth i Aelwydydd"
+
+#~ msgid ""
+#~ "You can continue without your EPC having been found by this service, but "
+#~ "the energy supplier you have selected may not be able to help if they do "
+#~ "not have your new EPC."
+#~ msgstr ""
+#~ "Gallwch barhau heb i’r gwasanaeth hwn ddod o hyd i’ch Tystysgrif "
+#~ "Perfformiad Ynni, ond efallai na fydd y cyflenwr ynni rydych chi wedi’i "
+#~ "ddewis yn gallu helpu heb gael eich tystysgrif newydd."
diff --git a/help_to_heat/templates/frontdoor/address-select.html b/help_to_heat/templates/frontdoor/address-select.html
index 405b68a0..5c09d553 100644
--- a/help_to_heat/templates/frontdoor/address-select.html
+++ b/help_to_heat/templates/frontdoor/address-select.html
@@ -23,22 +23,6 @@
{% endif %}
-
- {% if show_epc_update_details %}
-
-
-
-
- {{_("What if I have had a new EPC issued recently?") }}
-
-
-
- {{_("If your property has had a new EPC issued since 1 %(current_month)s, we may not be able to find it in our database because it is only updated monthly. Please return to this service after 1 %(next_month)s when we expect the database to have been updated.") % { "current_month": current_month, "next_month": next_month }}}
-
- {{_("You can continue without your EPC having been found by this service, but the energy supplier you have selected may not be able to help if they do not have your new EPC.")}}
-
-
- {% endif %}
{% endcall %}
From 6b9d3be936d8f8effe02a68a5f4716f9a2373085 Mon Sep 17 00:00:00 2001
From: Samuel Young
Date: Fri, 25 Oct 2024 11:02:28 +0100
Subject: [PATCH 07/18] PC-1342: add text to epc page for scottish routes
---
help_to_heat/frontdoor/views.py | 10 ++++++++--
help_to_heat/templates/frontdoor/epc.html | 9 ++++++---
2 files changed, 14 insertions(+), 5 deletions(-)
diff --git a/help_to_heat/frontdoor/views.py b/help_to_heat/frontdoor/views.py
index 34919e98..ccbbb2cc 100644
--- a/help_to_heat/frontdoor/views.py
+++ b/help_to_heat/frontdoor/views.py
@@ -822,7 +822,10 @@ def build_extra_context(self, request, session_id, page_name, data, is_change_pa
session_data = interface.api.session.get_session(session_id)
address = session_data.get(address_field)
- show_epc_update_details = session_data.get(country_field) in [country_field_wales, country_field_england]
+ show_monthly_epc_update_details = session_data.get(country_field) in [
+ country_field_wales,
+ country_field_england,
+ ]
epc = session_data.get(epc_details_field)
@@ -838,6 +841,7 @@ def build_extra_context(self, request, session_id, page_name, data, is_change_pa
gds_epc_date = ""
current_month, next_month = utils.get_current_and_next_month_names(month_names)
+ current_quarter_month, next_quarter_month = utils.get_current_and_next_quarter_month_names(month_names)
context = {
"epc_rating": epc_band.upper() if epc_band else "",
@@ -845,9 +849,11 @@ def build_extra_context(self, request, session_id, page_name, data, is_change_pa
"epc_date": epc_date,
"current_month": current_month,
"next_month": next_month,
+ "current_quarter_month": current_quarter_month,
+ "next_quarter_month": next_quarter_month,
"epc_display_options": schemas.epc_display_options_map,
"address": address,
- "show_epc_update_details": show_epc_update_details,
+ "show_monthly_epc_update_details": show_monthly_epc_update_details,
}
return context
diff --git a/help_to_heat/templates/frontdoor/epc.html b/help_to_heat/templates/frontdoor/epc.html
index 1c9650e5..722237b7 100644
--- a/help_to_heat/templates/frontdoor/epc.html
+++ b/help_to_heat/templates/frontdoor/epc.html
@@ -12,7 +12,7 @@
{{_("We found an Energy Performance Certificate that might be yours")}}
{{_("This certificate may be registered to your property or one of the properties nearby that shares part of your address.")}}
- {% if show_epc_update_details %}
+
@@ -20,12 +20,15 @@ {{_("We found an Energy Performance Certificate that
- {{_("If your property has had a new EPC issued since 1 %(current_month)s, we may not be able to find it in our database because it is only updated monthly. If you do not recognise the EPC below as your most recent one, please return to this service after 1 %(next_month)s when we expect the database to have been updated.") % { "current_month": current_month, "next_month": next_month }}}
+ {% if show_monthly_epc_update_details %}
+ {{_("If your property has had a new EPC issued since 1 %(current_month)s, we may not be able to find it in our database because it is only updated monthly. If you do not recognise the EPC below as your most recent one, please return to this service after 1 %(next_month)s when we expect the database to have been updated.") % { "current_month": current_month, "next_month": next_month }}}
+ {% else %}
+ {{_("If your property has had a new EPC issued since 1 %(current_quarter_month)s, we may not be able to find it in our database because it is only updated quarterly. If you do not recognise the EPC below as your most recent one, please return to this service after 1 %(next_quarter_month)s when we expect the database to have been updated.") % { "current_quarter_month": current_quarter_month, "next_quarter_month": next_quarter_month }}}
+ {% endif %}
{{_("You can continue with your old EPC but the energy supplier you have selected may not be able to help based on an out-of-date EPC")}}
- {% endif %}