aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2014-12-11 16:42:53 +0000
committerMatthew Somerville <matthew@mysociety.org>2014-12-12 12:41:31 +0000
commit43c98742ee85c73c4783451ceeea28108bb793c6 (patch)
tree40ced5bfa4a7b6c0328da62f8332cdc06a6637ea /templates
parent4edc79829ebf2f6dcce11185e929a2a592a3f5ed (diff)
By default, use area-based alerts.
The body-based alert only works if the body ID matches the MapIt ID. This fixes #959. Further work needs to be done to enable proper body-based alerts that work properly in all circumstances. Consequently, factor out fixed body IDs from many tests. Also fix a couple of tests not overriding geocoder correctly.
Diffstat (limited to 'templates')
-rw-r--r--templates/web/fixmybarangay/alert/index.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/web/fixmybarangay/alert/index.html b/templates/web/fixmybarangay/alert/index.html
index 8e2ce7518..58c4080e8 100644
--- a/templates/web/fixmybarangay/alert/index.html
+++ b/templates/web/fixmybarangay/alert/index.html
@@ -13,14 +13,14 @@ FixMyBarangay has a RSS feeds and email alerts for local problems.
[% END %]
[% options = [ {
- id => 'council:1:Luz',
+ id => 'area:1:Luz',
text => 'Luz',
- uri => '/rss/reports/Luz'
+ uri => '/rss/area/Luz'
},
{
- id => 'council:2:Basak_San_Nicolas',
+ id => 'area:2:Basak_San_Nicolas',
text => 'Basak San Nicolas'
- uri => '/rss/reports/Basak+San_Nicolas'
+ uri => '/rss/area/Basak+San_Nicolas'
} ];
%]