aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/email/peterborough/_council_reference.html3
-rw-r--r--templates/email/peterborough/_council_reference.txt2
-rw-r--r--templates/email/peterborough/_council_reference_alert_update.html2
-rw-r--r--templates/email/peterborough/_council_reference_alert_update.txt2
-rw-r--r--templates/email/peterborough/_email_color_overrides.html18
-rw-r--r--templates/web/fixmystreet.com/footer_extra_js.html1
-rwxr-xr-xtemplates/web/peterborough/about/faq-en-gb.html97
-rw-r--r--templates/web/peterborough/alert/_index_text.html19
-rw-r--r--templates/web/peterborough/around/intro.html2
-rw-r--r--templates/web/peterborough/before_wrapper.html6
-rw-r--r--templates/web/peterborough/footer_extra.html19
-rw-r--r--templates/web/peterborough/footer_extra_js.html14
-rw-r--r--templates/web/peterborough/header_extra.html2
-rw-r--r--templates/web/peterborough/header_logo.html2
-rw-r--r--templates/web/peterborough/index-steps.html13
-rw-r--r--templates/web/peterborough/report/_council_sent_info.html17
-rw-r--r--templates/web/peterborough/tracking_code.html15
17 files changed, 234 insertions, 0 deletions
diff --git a/templates/email/peterborough/_council_reference.html b/templates/email/peterborough/_council_reference.html
new file mode 100644
index 000000000..8a1a9e1ee
--- /dev/null
+++ b/templates/email/peterborough/_council_reference.html
@@ -0,0 +1,3 @@
+<p style="[% p_style %]">The report's reference number is <strong>[% problem.id %]</strong>.
+ Please quote this if you need to contact the council about this report.</p>
+
diff --git a/templates/email/peterborough/_council_reference.txt b/templates/email/peterborough/_council_reference.txt
new file mode 100644
index 000000000..75d7e93d2
--- /dev/null
+++ b/templates/email/peterborough/_council_reference.txt
@@ -0,0 +1,2 @@
+The report's reference number is [% problem.id %]. Please quote this if
+you need to contact the council about this report.
diff --git a/templates/email/peterborough/_council_reference_alert_update.html b/templates/email/peterborough/_council_reference_alert_update.html
new file mode 100644
index 000000000..bc7e0282c
--- /dev/null
+++ b/templates/email/peterborough/_council_reference_alert_update.html
@@ -0,0 +1,2 @@
+<p style="[% p_style %]">The report's reference number is <strong>[% problem.id %]</strong>.
+ Please quote this if you need to contact the council about this report.</p>
diff --git a/templates/email/peterborough/_council_reference_alert_update.txt b/templates/email/peterborough/_council_reference_alert_update.txt
new file mode 100644
index 000000000..75d7e93d2
--- /dev/null
+++ b/templates/email/peterborough/_council_reference_alert_update.txt
@@ -0,0 +1,2 @@
+The report's reference number is [% problem.id %]. Please quote this if
+you need to contact the council about this report.
diff --git a/templates/email/peterborough/_email_color_overrides.html b/templates/email/peterborough/_email_color_overrides.html
new file mode 100644
index 000000000..e2440c703
--- /dev/null
+++ b/templates/email/peterborough/_email_color_overrides.html
@@ -0,0 +1,18 @@
+[%
+
+color_green = '#337b1c'
+color_white = '#fff'
+
+header_background_color = color_white
+header_text_color = color_green
+
+secondary_column_background_color = color_white
+
+button_background_color = color_green
+button_text_color = color_white
+
+logo_width = "231" # pixel measurement, but without 'px' suffix
+logo_height = "102" # pixel measurement, but without 'px' suffix
+logo_file = "logo.gif"
+
+%]
diff --git a/templates/web/fixmystreet.com/footer_extra_js.html b/templates/web/fixmystreet.com/footer_extra_js.html
index 6fcb5d59c..c8ad921f6 100644
--- a/templates/web/fixmystreet.com/footer_extra_js.html
+++ b/templates/web/fixmystreet.com/footer_extra_js.html
@@ -15,6 +15,7 @@ IF bodyclass.match('mappage');
scripts.push( version('/cobrands/northamptonshire/assets.js') );
scripts.push( version('/cobrands/hounslow/assets.js') );
scripts.push( version('/cobrands/westminster/assets.js') );
+ scripts.push( version('/cobrands/peterborough/js.js') );
scripts.push( version('/cobrands/highways/assets.js') );
scripts.push( version('/cobrands/fixmystreet-uk-councils/council_validation_rules.js') );
scripts.push(
diff --git a/templates/web/peterborough/about/faq-en-gb.html b/templates/web/peterborough/about/faq-en-gb.html
new file mode 100755
index 000000000..3835b71b7
--- /dev/null
+++ b/templates/web/peterborough/about/faq-en-gb.html
@@ -0,0 +1,97 @@
+[% INCLUDE 'header.html', title = loc('Frequently Asked Questions'), bodyclass = 'twothirdswidthpage' %]
+
+[% INCLUDE 'about/_sidebar.html' %]
+
+<h1><a name="faq"></a>[% loc('Frequently Asked Questions') %]</h1>
+
+<dl>
+
+ <dt>What is this site?</dt>
+ <dd>[% site_name %] is a site to help people report to their
+ local authority, view, or discuss local issues they&rsquo;ve found, by
+ simply locating them on a map.</dd>
+
+ <dt>How do I get in touch with [% site_name %]?</dt>
+ <dd>Here&rsquo;s the FixMyStreet <a href="/contact">contact page</a>.</dd>
+
+ <dt>How do I contact Peterborough City Council?</dt>
+ <dd>Here’s the <a href="https://www.peterborough.gov.uk/contact-us/">Peterborough City Council contact page</a>.</dd>
+
+
+ <dt>What sort of problems should I report with [% site_name %]?</dt>
+ <dd>This depends upon the precise purpose of [% site_name %];
+ in the UK, FixMyStreet is primarily for reporting things which are
+ <strong>broken or dirty or damaged or dumped, and need fixing, cleaning
+ or clearing</strong>, such as:
+ <ul>
+ <li>Streetcleaning, such as broken glass in a cycle lane
+ <li>Unlit lampposts
+ <li>Potholes
+ </ul>
+ </dd>
+
+ <dt>What isn&rsquo;t [% site_name %] for?</dt>
+ <dd>[% site_name %] is not a way of getting in touch with your
+ authority for all issues &ndash; please use this site only for problems
+ such as the above. We often route problem reports via cleansing services or
+ highways and so using this site for other matters may result in a delay in
+ your report getting to the right department. <strong>You will need to
+ contact your authority directly for problems such as</strong>:
+
+ <ul><li>Anti-social behaviour
+ <li>Any urgent or emergency problems
+ <li>Noise pollution or barking dogs
+ <li>Fires and smoke/smell pollution
+ <li>Missing wheelie bins or recycling boxes or missed rubbish collections
+ <li>Proposals for speed bumps/ CCTV/ pedestrian crossings/ new road layouts/ etc.
+ <li>Complaining about your neighbours
+ <li>Complaining about the authority
+ <li>Joy riding, drug taking, animal cruelty, or other criminal activity
+ </ul>
+ <p>Authorities often have direct hotlines for these sorts of issues.</p>
+ </dd>
+
+ <p>Please check the <a href="https://www.peterborough.gov.uk/forms/report/">Peterborough City Council reporting page</a> for more details about these services.</p>
+
+ <dt>How do I use the site?</dt>
+ <dd>After entering a location, you are presented with a map of that area.
+ You can view problems already reported in that area, or report ones of your
+ own by clicking on the map at the location of the problem.</dd>
+
+ <dt>How are the problems solved?</dt>
+ <dd>They are reported to the relevant authority by email. The authority can
+ then resolve the problem the way they normally would. Alternatively, you
+ can discuss the problem on the website with others, and then together lobby
+ the authority to fix it, or fix it directly yourselves.</dd>
+
+ <dt>Is it free?</dt>
+ <dd>The site is free to use, yes. The FixMyStreet Platform is maintained by
+ a registered charity, so if you want to make a contribution,
+ <a href="https://www.mysociety.org/donate/">please do</a>.</dd>
+
+ <dt>Can I use [% site_name %] on my mobile?</dt>
+ <dd>
+ <p>The [% site_name %] website will already work on your mobile
+ phone, adapting to the size of your screen automatically.</p>
+ </dd>
+</dl>
+
+<h2><a name="practical"></a>Practical Questions</h2>
+
+<dl>
+ <dt>Do you remove silly or illegal content?</dt>
+ <dd>[% site_name %] is not responsible for the content and
+ accuracy of material submitted by its users. We reserve the right to
+ edit or remove any problems or updates which we consider to be
+ inappropriate upon being informed by a user of the site.</dd>
+
+ <dt>Why can&rsquo;t I zoom out more on the reporting map?</dt>
+ <dd>We want to keep [% site_name %] locally focused, so restrict
+ the ability to move radically between areas. The map on Your Reports will
+ let you see all the reports you&rsquo;ve made, wherever they are. If
+ you&rsquo;re from the authority then the emailed version of the problem
+ report might also contain the closest road or postcode to the pin on the
+ map.</dd>
+</dl>
+
+[% INCLUDE 'footer.html' pagefooter = 'yes' %]
diff --git a/templates/web/peterborough/alert/_index_text.html b/templates/web/peterborough/alert/_index_text.html
new file mode 100644
index 000000000..281c662b1
--- /dev/null
+++ b/templates/web/peterborough/alert/_index_text.html
@@ -0,0 +1,19 @@
+<p>
+[% site_name %] provide 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>
+[% IF c.cobrand.is_council %]
+[% tprintf(loc('To find out what local alerts we have for you, please enter your %s postcode or street name and area:'), c.cobrand.council_area) %]
+[% ELSE %]
+[% loc('To find out what local alerts we have for you, please enter your postcode or street name and area' ) %]
+[% END %]
+</p>
diff --git a/templates/web/peterborough/around/intro.html b/templates/web/peterborough/around/intro.html
new file mode 100644
index 000000000..8d6d5e54a
--- /dev/null
+++ b/templates/web/peterborough/around/intro.html
@@ -0,0 +1,2 @@
+<h1>Report local problems</h1>
+<h2>Report a problem on a street in your area and see other reported issues.</h2>
diff --git a/templates/web/peterborough/before_wrapper.html b/templates/web/peterborough/before_wrapper.html
new file mode 100644
index 000000000..506eafae4
--- /dev/null
+++ b/templates/web/peterborough/before_wrapper.html
@@ -0,0 +1,6 @@
+[% IF c.config.BASE_URL == "https://www.fixmystreet.com" %]
+<!-- Google Tag Manager (noscript) -->
+<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=UA-144500283-1"
+height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
+<!-- End Google Tag Manager (noscript) -->
+[% END %]
diff --git a/templates/web/peterborough/footer_extra.html b/templates/web/peterborough/footer_extra.html
new file mode 100644
index 000000000..d20bdf876
--- /dev/null
+++ b/templates/web/peterborough/footer_extra.html
@@ -0,0 +1,19 @@
+<footer class="pboro-footer">
+ <ul>
+ <li><a href="https://www.peterborough.gov.uk/accessibility/">
+ Accessibility
+ </a></li>
+ <li><a href="https://www.peterborough.gov.uk/privacy/">
+ Privacy policy
+ </a></li>
+ <li><a href="https://www.peterborough.gov.uk/cookies/">
+ Cookies
+ </a></li>
+ <li><a href="https://www.peterborough.gov.uk/disclaimer/">
+ Disclaimer
+ </a></li>
+ <li><a href="https://www.peterborough.gov.uk/contact-us/">
+ Contact us
+ </a></li>
+ </ul>
+</div>
diff --git a/templates/web/peterborough/footer_extra_js.html b/templates/web/peterborough/footer_extra_js.html
new file mode 100644
index 000000000..afed8d350
--- /dev/null
+++ b/templates/web/peterborough/footer_extra_js.html
@@ -0,0 +1,14 @@
+[% scripts.push(
+ version('/cobrands/fixmystreet-uk-councils/js.js'),
+ version('/cobrands/fixmystreet-uk-councils/council_validation_rules.js'),
+) %]
+[%~
+IF bodyclass.match('mappage');
+ scripts.push(
+ version('/vendor/OpenLayers.Projection.OrdnanceSurvey.js'),
+ version('/cobrands/fixmystreet/assets.js'),
+ version('/cobrands/peterborough/js.js'),
+ version('/cobrands/highways/assets.js'),
+ );
+END
+%]
diff --git a/templates/web/peterborough/header_extra.html b/templates/web/peterborough/header_extra.html
new file mode 100644
index 000000000..4aa99dd3c
--- /dev/null
+++ b/templates/web/peterborough/header_extra.html
@@ -0,0 +1,2 @@
+[% INCLUDE 'tracking_code.html' %]
+<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Roboto:900,400,700,300,100">
diff --git a/templates/web/peterborough/header_logo.html b/templates/web/peterborough/header_logo.html
new file mode 100644
index 000000000..dbb0f51f4
--- /dev/null
+++ b/templates/web/peterborough/header_logo.html
@@ -0,0 +1,2 @@
+ <a href="https://www.peterborough.gov.uk/" id="site-logo">Peterborough City Council</a>
+ <a href="/" id="report-cta" title="[%- loc('Report a problem') -%]">[%- loc('Report') -%]</a>
diff --git a/templates/web/peterborough/index-steps.html b/templates/web/peterborough/index-steps.html
new file mode 100644
index 000000000..13d8c8961
--- /dev/null
+++ b/templates/web/peterborough/index-steps.html
@@ -0,0 +1,13 @@
+<h2>[% loc('How to report a problem') %]</h2>
+
+<ol class="big-numbers">
+ <li>[% question %]</li>
+ <li>[% loc('Locate the problem on a map') %]</li>
+ <li>[% loc('Enter more details of the problem') %]</li>
+ <li>Confirm your report and [% c.cobrand.council_name %] will investigate</li>
+</ol>
+
+<section class="full-width">
+[% INCLUDE "front/stats.html" %]
+[% TRY %][% INCLUDE "front/tips.html" %][% CATCH file %][% END %]
+</section>
diff --git a/templates/web/peterborough/report/_council_sent_info.html b/templates/web/peterborough/report/_council_sent_info.html
new file mode 100644
index 000000000..1963020bc
--- /dev/null
+++ b/templates/web/peterborough/report/_council_sent_info.html
@@ -0,0 +1,17 @@
+[% SET duration_clause = problem.duration_string(c) %]
+[% IF duration_clause || problem.whensent %]
+ <p class="council_sent_info">
+ [%- IF problem.whensent %]
+ [%- IF duration_clause %]
+ [%- external_ref_clause = tprintf(loc('Council ref:&nbsp;%s'), problem.id) %]
+ [%- ELSE %]
+ [%- external_ref_clause = tprintf(loc('%s ref:&nbsp;%s'), problem.external_body, problem.id) %]
+ [%- END %]
+ [%- END -%]
+ [% duration_clause %]
+ [%- IF external_ref_clause %]
+ [%- IF duration_clause %]. [% END %]
+ <strong>[% external_ref_clause %].</strong>
+ [%- END %]
+ </p>
+[% END %]
diff --git a/templates/web/peterborough/tracking_code.html b/templates/web/peterborough/tracking_code.html
new file mode 100644
index 000000000..695aac833
--- /dev/null
+++ b/templates/web/peterborough/tracking_code.html
@@ -0,0 +1,15 @@
+[% IF c.config.BASE_URL == "https://www.fixmystreet.com" %]
+
+<!-- Global Site Tag (gtag.js) - Google Analytics -->
+<script async src="https://www.googletagmanager.com/gtag/js?id=UA-144500283-1"></script>
+<script>
+ window.dataLayer = window.dataLayer || [];
+ function gtag(){dataLayer.push(arguments);}
+ gtag('js', new Date());
+
+ gtag('config', 'UA-144500283-1');
+</script>
+
+[% ELSE %]
+<!-- Tracking code not inserted as "[% c.config.BASE_URL %]" not "https://www.fixmystreet.com" -->
+[% END %]