aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2015-10-08 16:07:03 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2015-10-08 16:07:03 +0100
commit0a19721641de51a6b1e1ba79fd84bcd9ea62fdb2 (patch)
tree91c72374be29bae10cb199fc9c98c487a1e5833e /templates
parent50b8576284de8ebb1fc59bdeb4b6f98e58358333 (diff)
Look for gone body template, not hard-code cobrand
This means other cobrands could use the same mechanism.
Diffstat (limited to 'templates')
-rwxr-xr-xtemplates/web/base/reports/body.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/web/base/reports/body.html b/templates/web/base/reports/body.html
index ffb5d8838..dfaa98d6a 100755
--- a/templates/web/base/reports/body.html
+++ b/templates/web/base/reports/body.html
@@ -43,8 +43,8 @@
[% INCLUDE '_hart_hants_note.html' %]
[% END %]
-[% IF NOT body.areas.size AND c.cobrand.moniker == 'fixmystreet' %]
- [% INCLUDE 'reports/_body_gone.html' %]
+[% IF NOT body.areas.size %]
+ [% TRY %][% INCLUDE 'reports/_body_gone.html' %][% CATCH file %][% END %]
[% ELSE %]
[% INCLUDE 'reports/_rss.html' %]
[% END %]