diff options
author | Struan Donald <struan@exo.org.uk> | 2012-08-22 17:52:14 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2012-08-22 17:52:14 +0100 |
commit | 70850bf8a35a5a40b6d4a52b9d342468956797c9 (patch) | |
tree | a70f6cd07484f3accdd829d71dd33e178008e1d3 | |
parent | e7f56019f2f554c6ad9984b2a99c8ae6aa3c9c8e (diff) |
update alert page text to be appropriate for FixMyBarangay
-rw-r--r-- | templates/web/fixmybarangay/alert/index.html | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/templates/web/fixmybarangay/alert/index.html b/templates/web/fixmybarangay/alert/index.html new file mode 100644 index 000000000..dbf3e7c22 --- /dev/null +++ b/templates/web/fixmybarangay/alert/index.html @@ -0,0 +1,41 @@ +[% INCLUDE 'header.html', title = loc('Local RSS feeds and email alerts'), bodyclass = 'twothirdswidthpage' %] + +<h1>[% loc('Local RSS feeds and email alerts') %]</h1> + +<p> +FixMyBarangay has a variety of RSS feeds and email alerts for local problems, including +alerts for all problems within a particular ward, or all problems +within a certain distance of a particular location. +</p> + +[% IF location_error %] + <div class="error">[% location_error %]</div> +[% ELSE %] + [% INCLUDE 'errors.html' %] +[% END %] + +<p> +[% loc('To find out what local alerts we have for you, please enter your postcode or street name and area' ) %] +</p> +<form method="get" action="/alert/list" class="full-width"> + <fieldset> + <div class="form-txt-submit-box"> + <input type="text" name="pc" value="[% pc | html %]" placeholder="[% tprintf(loc('e.g. ā%sā or ā%sā'), c.cobrand.example_places) %]"> + <input class="green-btn" type="submit" value="[% loc('Go') %]"> + </div> + </fieldset> +</form> + +[% IF photos.size %] +<div class="sticky-sidebar" id="alert_recent"> + <aside> + <h2>[% loc('Some photos of recent reports') %]</h2> + [% FOREACH p IN photos %] + <a href="/report/[% p.id %]"><img border="0" height="100" + src="/photo/[% p.id %].tn.jpeg" alt="[% p.title | html %]" title="[% p.title | html %]"></a> + [% END %] + </aside> +</div> +[% END %] + +[% INCLUDE 'footer.html' %] |