aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/harrogate
diff options
context:
space:
mode:
Diffstat (limited to 'templates/web/harrogate')
-rw-r--r--templates/web/harrogate/footer.html2
-rw-r--r--templates/web/harrogate/header.html2
-rw-r--r--templates/web/harrogate/report/new/after_category.html48
3 files changed, 50 insertions, 2 deletions
diff --git a/templates/web/harrogate/footer.html b/templates/web/harrogate/footer.html
index 116b318a3..4558b2381 100644
--- a/templates/web/harrogate/footer.html
+++ b/templates/web/harrogate/footer.html
@@ -1,5 +1,5 @@
[% IF pagefooter %]
- <footer role="content-info">
+ <footer role="contentinfo">
[% INCLUDE 'front/footer-marketing.html' %]
</footer>
[% END %]
diff --git a/templates/web/harrogate/header.html b/templates/web/harrogate/header.html
index a1c0ba38a..e40a38d94 100644
--- a/templates/web/harrogate/header.html
+++ b/templates/web/harrogate/header.html
@@ -31,7 +31,7 @@
<link rel="canonical" href="https://www.fixmystreet.com[% c.req.uri.path_query %]">
[% END %]
- [% TRY %][% PROCESS 'header_extra.html' %][% CATCH file %][% END %]
+ [% PROCESS 'header_extra.html' %]
</head>
[% TRY %][% PROCESS 'set_body_class.html' %][% CATCH file %][% END %]
diff --git a/templates/web/harrogate/report/new/after_category.html b/templates/web/harrogate/report/new/after_category.html
new file mode 100644
index 000000000..b67019353
--- /dev/null
+++ b/templates/web/harrogate/report/new/after_category.html
@@ -0,0 +1,48 @@
+<script>
+ // we link to the informational articles rather than the forms, because in some
+ // cases the former have more information or links to track progress of faults
+ // etc..
+ var links = {
+ 'Bus stops': 'http://www.northyorks.gov.uk/article/25853/Bus-stops-and-shelters',
+ // Pavements/footpaths (multiple options)
+ 'Potholes': 'http://www.northyorks.gov.uk/article/25215/Roads---potholes',
+ // Roads/highways (multiple options)
+ 'Road traffic signs': 'http://www.northyorks.gov.uk/article/25667/Road-signs-and-bollards',
+ // Street lighting (not considered, as also a Harrogate category)
+ 'Traffic lights': 'http://www.northyorks.gov.uk/article/25626/Traffic-lights',
+ 'default': 'http://www.northyorks.gov.uk/article/28237/Report-it-online'
+ };
+ $(function () {
+ var notice = $('.nycc-notice');
+ $("#problem_form").on("change.category", "select#form_category", function(){
+ var cat = $(this).val();
+ if (cat.search(/NYCC/) > 0) {
+ cat = cat.replace(' (NYCC)', '');
+ var link = links[cat] || links ['default'];
+ notice.find('a').attr({ href: link });
+ notice.show();
+ }
+ else {
+ notice.hide();
+ }
+
+ });
+ });
+</script>
+<noscript>
+ <p class="nycc-notice">
+ Please report issues for categories labelled <b>(NYCC)</b> directly to
+ <a href="http://www.northyorks.gov.uk/article/28237/Report-it-online">
+ North Yorkshire County Council.
+ </a>
+ </p>
+</noscript>
+
+<p class="nycc-notice" style="display:none">
+ Please report issues for <b>NYCC</b> managed categories directly to
+ <a href="http://www.northyorks.gov.uk/article/28237/Report-it-online">
+ North Yorkshire County Council.
+ </a>
+</p>
+
+<p><small>[% loc("Remember that FixMyStreet is primarily for reporting physical problems that can be fixed. If your problem is not appropriate for submission via this site remember that you can contact your council directly using their own website.") %]</small></p>