diff --git a/app/views/_tailwind/applications/_address_search.html.erb b/app/views/_tailwind/applications/_address_search.html.erb index a84ef6b95..d3cd4f043 100644 --- a/app/views/_tailwind/applications/_address_search.html.erb +++ b/app/views/_tailwind/applications/_address_search.html.erb @@ -50,14 +50,9 @@
- We currently cover - <%= Authority.percentage_population_covered_by_all_active_authorities.to_i %>% of - Australia's population within <%= Authority.active.count %> authorities. - For this number we're only counting places where the main planning authority is covered. - As an example, most of Victoria is covered by the SPEAR system but not all Victorian - planning applications go through it. So, we don't include SPEAR in our population count. -
+ <%= render "authorities/coverage_explanation", + percentage: Authority.percentage_population_covered_by_all_active_authorities.to_i, + count: Authority.active.count %>We don't yet cover the whole country, but we are working on it. New authorities are being added all the time. diff --git a/app/views/_tailwind/authorities/_coverage_explanation.html.erb b/app/views/_tailwind/authorities/_coverage_explanation.html.erb new file mode 100644 index 000000000..10fdb79f2 --- /dev/null +++ b/app/views/_tailwind/authorities/_coverage_explanation.html.erb @@ -0,0 +1,7 @@ +
+ We currently cover <%= percentage %>% of Australia's population + within <%= count %> authorities. + For this number we're only counting places where the main planning authority is covered. + As an example, most of Victoria is covered by the SPEAR system but not all Victorian planning + applications go through it. So, we don't include SPEAR in our population count. +
diff --git a/app/views/_tailwind/authorities/index.html.erb b/app/views/_tailwind/authorities/index.html.erb index 523ac5e2c..1457e4dfc 100644 --- a/app/views/_tailwind/authorities/index.html.erb +++ b/app/views/_tailwind/authorities/index.html.erb @@ -9,15 +9,9 @@ <%= render "coverage_percentage" %>- We currently cover <%= @percentage_population_covered_by_all_active_authorities %>% of Australia's population - within <%= @authority_count %> authorities. - For this number we're only counting places where the main planning authority is covered. - As an example, most of Victoria is covered by the SPEAR system but not all Victorian planning - applications go through it. So, we don't include SPEAR in our population count. -
- + <%= render "coverage_explanation", + percentage: @percentage_population_covered_by_all_active_authorities, + count: @authority_count %>We don't yet cover the whole country, but we are working on it. New authorities are being added all the time, so if your local authority isn't listed below