aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/bathnes
diff options
context:
space:
mode:
Diffstat (limited to 'templates/web/bathnes')
-rw-r--r--templates/web/bathnes/contact/index.html2
-rw-r--r--templates/web/bathnes/footer_extra.html2
-rw-r--r--templates/web/bathnes/footer_extra_js.html9
-rw-r--r--templates/web/bathnes/header_site.html2
-rw-r--r--templates/web/bathnes/report/_council_sent_info.html2
5 files changed, 12 insertions, 5 deletions
diff --git a/templates/web/bathnes/contact/index.html b/templates/web/bathnes/contact/index.html
index f0589bd9e..aaa0d3c57 100644
--- a/templates/web/bathnes/contact/index.html
+++ b/templates/web/bathnes/contact/index.html
@@ -63,7 +63,7 @@
[% IF problem.anonymous %]
[% tprintf( loc('Reported anonymously at %s'), prettify_dt( problem.confirmed ) ) %]
[% ELSE %]
- [% tprintf( loc('Reported by %s at %s'), problem.user.name, prettify_dt( problem.confirmed ) ) | html %]
+ [% tprintf( loc('Reported by %s at %s'), problem.name, prettify_dt( problem.confirmed ) ) | html %]
[% END %]
</cite>
diff --git a/templates/web/bathnes/footer_extra.html b/templates/web/bathnes/footer_extra.html
index 4651fdaa5..cfc723498 100644
--- a/templates/web/bathnes/footer_extra.html
+++ b/templates/web/bathnes/footer_extra.html
@@ -12,7 +12,7 @@
</div>
<ul class="footer-list">
- <li><a href="http://www.bathnes.gov.uk/contact-us">Contact Us</a></li>
+ <li><a href="https://www.bathnes.gov.uk/contact-us">Contact Us</a></li>
<li><a href="/privacy">Privacy and Cookies</a></li>
</ul>
</div>
diff --git a/templates/web/bathnes/footer_extra_js.html b/templates/web/bathnes/footer_extra_js.html
index e46e103e8..fcbbe6eb4 100644
--- a/templates/web/bathnes/footer_extra_js.html
+++ b/templates/web/bathnes/footer_extra_js.html
@@ -1,4 +1,11 @@
-[% PROCESS 'footer_extra_js_base.html' highways=1 cobrand_js=1 validation=1 %]
+[% PROCESS 'footer_extra_js_base.html' highways=1 cobrand_js=1 validation=1 roadworks=1 %]
+[%
+IF bodyclass.match('mappage');
+ scripts.push(
+ version('/cobrands/bathnes/js.js')
+ );
+END
+%]
[%~
SET council_area_id = c.cobrand.council_area_id;
IF c.user_exists AND ((c.user.from_body AND c.user.from_body.areas.$council_area_id) OR c.user.is_superuser);
diff --git a/templates/web/bathnes/header_site.html b/templates/web/bathnes/header_site.html
index e39882b58..0c56b86e3 100644
--- a/templates/web/bathnes/header_site.html
+++ b/templates/web/bathnes/header_site.html
@@ -18,7 +18,7 @@
<a href="#main-nav" class="navigation-trigger">Menu</a>
<div class="header-search header-search--desktop">
- <form id="search" class="site-search" action="http://www.bathnes.gov.uk/search/site/" method="post">
+ <form id="search" class="site-search" action="https://www.bathnes.gov.uk/search/site/" method="post">
<label class="form-label visuallyhidden" for="search-site">Search across the site</label>
<input class="form-control" id="search-site" type="text" name="search_block_form" placeholder="Search bathnes.gov.uk">
<input type="hidden" name="form_id" value="search_block_form">
diff --git a/templates/web/bathnes/report/_council_sent_info.html b/templates/web/bathnes/report/_council_sent_info.html
index 1963020bc..c7e1eaf1d 100644
--- a/templates/web/bathnes/report/_council_sent_info.html
+++ b/templates/web/bathnes/report/_council_sent_info.html
@@ -1,4 +1,4 @@
-[% SET duration_clause = problem.duration_string(c) %]
+[% SET duration_clause = problem.duration_string %]
[% IF duration_clause || problem.whensent %]
<p class="council_sent_info">
[%- IF problem.whensent %]