aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/emptyhomes
diff options
context:
space:
mode:
Diffstat (limited to 'templates/web/emptyhomes')
-rw-r--r--templates/web/emptyhomes/around/extra_text.html9
-rw-r--r--templates/web/emptyhomes/front/stats.html7
2 files changed, 16 insertions, 0 deletions
diff --git a/templates/web/emptyhomes/around/extra_text.html b/templates/web/emptyhomes/around/extra_text.html
new file mode 100644
index 000000000..bb9d18d8e
--- /dev/null
+++ b/templates/web/emptyhomes/around/extra_text.html
@@ -0,0 +1,9 @@
+[%
+# Need to ignore any county council
+FOR c IN all_areas.values;
+ SET council = c IF c.type != 'CTY';
+END;
+%]
+<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/front/stats.html b/templates/web/emptyhomes/front/stats.html
new file mode 100644
index 000000000..f6aacf859
--- /dev/null
+++ b/templates/web/emptyhomes/front/stats.html
@@ -0,0 +1,7 @@
+[% USE Comma %]
+[% stats = c.cobrand.front_stats_data %]
+
+<div id="front_stats">
+ <div>[% tprintf( loc("<big>%s</big> reports"), stats ) | comma %]</div>
+ <div><a href="/local/">[% loc('Find latest local and national news') %]</a></div>
+</div>