aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/default
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2011-05-09 12:49:18 +0100
committerStruan Donald <struan@exo.org.uk>2011-05-09 12:49:18 +0100
commitd01b9bc2e42e46d5415a5464eb2ee063f43a8464 (patch)
tree08f82140a6b568ef1a03815829b3545b34232874 /templates/web/default
parentb1ca5c65e80f340c9e0bd6ee7bd6ab667073389b (diff)
rss feeds for single tier councils
Diffstat (limited to 'templates/web/default')
-rw-r--r--templates/web/default/alert/list.html25
1 files changed, 25 insertions, 0 deletions
diff --git a/templates/web/default/alert/list.html b/templates/web/default/alert/list.html
index 0e5c660f6..3aeabf2b5 100644
--- a/templates/web/default/alert/list.html
+++ b/templates/web/default/alert/list.html
@@ -36,9 +36,34 @@
<p id="rss_local_alt">
[% loc('(alternatively the RSS feed can be customised, within') %]
<a href="[% rss_feed_2k %]">2km</a> / <a href="[% rss_feed_5k %]">5km</a> / <a href="[% rss_feed_10k %]">10km</a> / <a href="[% rss_feed_20k %]">20km</a>)
+ </p>
+
+ <p>
+ [% loc("Or you can subscribe to an alert based upon what ward or council you’re in:") %]
+ </p>
+ [% IF two_tier_council %]
+ <div id="rss_feed">
+ <p><strong>
+ [% loc('Problems within the boundary of:') %]
+ </strong></p>
+ <ul>
+ [% ELSE %]
+ <div><ul id="rss_feed">
+ [% END %]
[%# FIXME errors here %]
+ [% FOREACH option IN options %]
+ <li>
+ <input type="radio" name="feed" id="[% option.id %]" value="[% option.id %]">
+ <label for="[% option.id %]">[% option.text %]</label>
+ <a href="[% option.uri %]"><img src="/i/feed.png" width="16" height="16"
+title="RSS feed of [% option.text %]" alt="RSS feed" border="0"></a>
+ </li>
+ [% END %]
+</ul>
+</div>
+
[%# FIXME rss options here %]
<p>