aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--templates/web/fixmybarangay/_barangay_buttons.html4
-rw-r--r--templates/web/fixmystreet/around/postcode_form.html5
-rw-r--r--templates/web/fixmystreet/my/my.html4
3 files changed, 9 insertions, 4 deletions
diff --git a/templates/web/fixmybarangay/_barangay_buttons.html b/templates/web/fixmybarangay/_barangay_buttons.html
new file mode 100644
index 000000000..2925a487d
--- /dev/null
+++ b/templates/web/fixmybarangay/_barangay_buttons.html
@@ -0,0 +1,4 @@
+<p id="barangay_buttons">
+ <a href="/around?latitude=10.322;longitude=123.907" class="yellow-btn">Bgy. Luz</a>
+ <a href="/around?latitude=10.288;longitude=123.870" class="yellow-btn">Bgy. Basak San Nicolas</a>
+</p>
diff --git a/templates/web/fixmystreet/around/postcode_form.html b/templates/web/fixmystreet/around/postcode_form.html
index 2561a7710..9ed7ec781 100644
--- a/templates/web/fixmystreet/around/postcode_form.html
+++ b/templates/web/fixmystreet/around/postcode_form.html
@@ -15,10 +15,7 @@
%]
[% IF c.cobrand.moniker == 'fixmybarangay' %]
- <p id="barangay_buttons">
- <a href="/around?latitude=10.322;longitude=123.907" class="yellow-btn">Bgy. Luz</a>
- <a href="/around?latitude=10.288;longitude=123.870" class="yellow-btn">Bgy. Basak San Nicolas</a>
- </p>
+ [% INCLUDE '_barangay_buttons.html' %]
[% ELSE %]
<form action="[% c.uri_for('/around') %]" method="get" name="postcodeForm" id="postcodeForm">
<label for="pc">[% question %]:</label>
diff --git a/templates/web/fixmystreet/my/my.html b/templates/web/fixmystreet/my/my.html
index e170202de..258f147c6 100644
--- a/templates/web/fixmystreet/my/my.html
+++ b/templates/web/fixmystreet/my/my.html
@@ -13,6 +13,10 @@
<h1>[% loc('Your Reports') %]</h1>
+[% IF c.cobrand.moniker == 'fixmybarangay' %]
+ [% INCLUDE '_barangay_buttons.html' %]
+[% END %]
+
[% INCLUDE 'pagination.html',
pager = problems_pager,
param = 'p'