aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--templates/web/default/front/stats.html4
-rw-r--r--templates/web/emptyhomes/around/extra_text.html9
-rw-r--r--web/cobrands/emptyhomes/css.css6
3 files changed, 17 insertions, 2 deletions
diff --git a/templates/web/default/front/stats.html b/templates/web/default/front/stats.html
index eae66018b..fc8b9e99a 100644
--- a/templates/web/default/front/stats.html
+++ b/templates/web/default/front/stats.html
@@ -36,7 +36,9 @@
<div id="front_stats">
<div>[% tprintf( new_text, stats.new ) | comma %]</div>
- [% IF c.cobrand.moniker != 'emptyhomes' %]
+ [% IF c.cobrand.moniker == 'emptyhomes' %]
+ <div><a href="/local/">Find latest local and national news</a></div>
+ [% ELSE %]
<div>[% tprintf( fixed_text, stats.fixed ) | comma %]</div>
[% IF c.cobrand.moniker != 'zurich' %]
<div>[% tprintf( updates_text, stats.updates ) | comma %]</div>
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/web/cobrands/emptyhomes/css.css b/web/cobrands/emptyhomes/css.css
index db711ae8a..b9d7342a0 100644
--- a/web/cobrands/emptyhomes/css.css
+++ b/web/cobrands/emptyhomes/css.css
@@ -195,10 +195,14 @@ a:hover, a:active {
}
#mysociety #front_stats div {
+ vertical-align: middle;
background-color: #80AE7D;
color: #000000;
/*padding: 0.5em 0; */
- width: 9em;
+ width: 7em;
+}
+#mysociety #front_stats div a {
+ color: #000000;
}
#mysociety #problem_form {