diff options
author | Matthew Somerville <matthew@mysociety.org> | 2012-12-14 23:32:00 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2012-12-19 14:43:26 +0000 |
commit | 0a060d76bb8970a93edc0cad007774d0a55b6ed5 (patch) | |
tree | 3d0740e2221345a2a4552fe1b77cfea81d55cf9f | |
parent | c9f99c84d02856f742e8e99cc88cd5edd22313c3 (diff) |
Slightly better text for an area with associated bodies without any categories.
-rw-r--r-- | templates/web/default/report/new/councils_text_none.html | 7 | ||||
-rw-r--r-- | templates/web/default/report/new/councils_text_some.html | 2 |
2 files changed, 3 insertions, 6 deletions
diff --git a/templates/web/default/report/new/councils_text_none.html b/templates/web/default/report/new/councils_text_none.html index bd9d25922..3c445b085 100644 --- a/templates/web/default/report/new/councils_text_none.html +++ b/templates/web/default/report/new/councils_text_none.html @@ -1,11 +1,8 @@ - - <p>[% - nget( "We do not yet have details for the council that covers this location.", "We do not yet have details for the councils that cover this location.", - all_areas.size + missing_details_bodies.size || all_areas.size ); %] [% @@ -14,7 +11,7 @@ [% tprintf( loc("You can help us by finding a contact email address for local problems for %s and emailing it to us at <a href='mailto:%s'>%s</a>."), - all_area_names.join( loc(' or ') ), + missing_details_body_names.join( loc(' or ') ) || all_area_names.join( loc(' or ') ), c.cobrand.contact_email, c.cobrand.contact_email ); diff --git a/templates/web/default/report/new/councils_text_some.html b/templates/web/default/report/new/councils_text_some.html index eda26e5b3..8d4768612 100644 --- a/templates/web/default/report/new/councils_text_some.html +++ b/templates/web/default/report/new/councils_text_some.html @@ -14,7 +14,7 @@ nget( "We do <strong>not</strong> yet have details for the other council that covers this location.", "We do <strong>not</strong> yet have details for the other councils that cover this location.", - missing_details_body.size + missing_details_bodies.size ); %] [% |