blob: c842a76832893d6cbc76df5d1751434bf18a4366 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
[% 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 RSS feeds and email alerts for local problems.
</p>
[% IF location_error %]
<div class="error">[% location_error %]</div>
[% ELSE %]
[% INCLUDE 'errors.html' %]
[% END %]
[% options = [ {
id => 'area:1:Luz',
text => 'Luz',
uri => '/rss/area/Luz'
},
{
id => 'area:2:Basak_San_Nicolas',
text => 'Basak San Nicolas'
uri => '/rss/area/Basak+San_Nicolas'
} ];
%]
<form id="alerts" name="alerts" method="post" action="/alert/subscribe">
[% IF photos.size %]
<div 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="[% p.photos.first.url_tn %]" alt="[% p.title | html %]" title="[% p.title | html %]"></a>
[% END %]
</aside>
</div>
[% END %]
[% INCLUDE 'alert/_list.html' %]
</form>
[% INCLUDE 'footer.html' %]
|