diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/web/default/front/stats.html | 4 | ||||
-rw-r--r-- | templates/web/emptyhomes/around/extra_text.html | 9 |
2 files changed, 12 insertions, 1 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> |