diff options
author | Matthew Somerville <matthew@mysociety.org> | 2013-06-04 14:19:20 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2013-06-04 14:40:58 +0100 |
commit | 4379bb9ab94a4dafa91c7be61ebfb01e78cf6b8e (patch) | |
tree | 93591bfcf8ccc31f05cda57d1e041401b8ef4f72 | |
parent | b9dc026e98b439e3aed39316505ffd15e03a8d72 (diff) |
Link to EHA local page from all reports.
-rw-r--r-- | templates/web/emptyhomes/around/extra_text.html | 2 | ||||
-rwxr-xr-x | templates/web/emptyhomes/reports/index.html | 5 |
2 files changed, 3 insertions, 4 deletions
diff --git a/templates/web/emptyhomes/around/extra_text.html b/templates/web/emptyhomes/around/extra_text.html index 9e96d079e..a69aa8fbf 100644 --- a/templates/web/emptyhomes/around/extra_text.html +++ b/templates/web/emptyhomes/around/extra_text.html @@ -4,6 +4,6 @@ FOR coun IN all_areas.values; SET council = coun IF coun.type != 'CTY'; END; %] -<a href="/local/[% c.cobrand.short_name(council) | lower %]"> +<a href="/local/[% c.cobrand.short_name(council) | lower %]/"> Find out local news and stats for [% council.name %] </a> diff --git a/templates/web/emptyhomes/reports/index.html b/templates/web/emptyhomes/reports/index.html index 6d80fa0d6..8b8704134 100755 --- a/templates/web/emptyhomes/reports/index.html +++ b/templates/web/emptyhomes/reports/index.html @@ -1,8 +1,7 @@ [% INCLUDE 'header.html', title = loc('Summary reports') %] <p> -[% loc('This is a summary of all reports on this site; select a particular council to see the reports sent there.') %] -[% loc('Greyed-out lines are councils that no longer exist.') %] +[% loc("This is a summary of all reports on this site; select a particular council to see the empty homes news for that area.") %] </p> <table cellpadding="3" cellspacing="1" border="0"> @@ -18,7 +17,7 @@ [%- ELSIF loop.count % 2 %] class="a" [%- END -%] > -<td align="left"><a href="[% body.url(c) %]">[% body.name %]</a></td> +<td align="left"><a href="/local/[% c.cobrand.short_name(body) | lower %]/">[% body.name %]</a></td> <td>[% open.${body.id}.new or 0 %]</td> <td>[% (open.${body.id}.older or 0) + (open.${body.id}.unknown or 0) + (fixed.${body.id}.new or 0) + (fixed.${body.id}.old or 0) %]</td> </tr> |