aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2020-04-14 15:14:49 +0100
committerMatthew Somerville <matthew@mysociety.org>2020-04-14 15:14:49 +0100
commita21be2f4a01232de594af6d7b92eb7f2e7108d26 (patch)
tree736d734fa8e0b41e0974dc346a32ebd0adf9a3ef
parent6811ccb566e1883016722af47dd70121864446e0 (diff)
[Bromley] COVID-19 message and nav item.
-rw-r--r--templates/web/bromley/front/pre-steps.html8
-rw-r--r--templates/web/bromley/navigation/_report.html11
2 files changed, 19 insertions, 0 deletions
diff --git a/templates/web/bromley/front/pre-steps.html b/templates/web/bromley/front/pre-steps.html
index a5523c862..ebe7154c1 100644
--- a/templates/web/bromley/front/pre-steps.html
+++ b/templates/web/bromley/front/pre-steps.html
@@ -1,3 +1,11 @@
+<p style="padding: 1em; background: #fff; border: 3px solid #235e1c; border-radius: 5px;">
+Please note that during the current covid-19 pandemic it will not be possible
+for us to action or respond to all reports within the normal timeframes. We
+are working hard to ensure key services are maintained and focusing on high
+priority issues in the first instance.
+<a href="https://www.bromley.gov.uk/news/article/1551/coronavirus_covid-19_–_what_you_need_to_know">Further information on our services during the covid-19 pandemic</a>.
+</p>
+
<p>This is primarily for reporting physical problems that can be fixed
like graffiti, cleansing issues or road defects. To report other
kinds of problems like missed bins use our
diff --git a/templates/web/bromley/navigation/_report.html b/templates/web/bromley/navigation/_report.html
new file mode 100644
index 000000000..07b865cf9
--- /dev/null
+++ b/templates/web/bromley/navigation/_report.html
@@ -0,0 +1,11 @@
+[%~ INCLUDE navitem uri='https://www.bromley.gov.uk/news/article/1551/coronavirus_covid-19_%E2%80%93_what_you_need_to_know' label='Coronavirus update' ~%]
+
+[%~ IF problem AND NOT problem.non_public ~%]
+ [%~ INCLUDE navitem uri='/report/new?longitude=' _ problem.longitude _ '&latitude=' _ problem.latitude label=loc('Report another problem here') attrs='class="report-a-problem-btn"' ~%]
+[%~ ELSIF latitude AND longitude ~%]
+ [%~ INCLUDE navitem uri='/report/new?longitude=' _ longitude _ '&latitude=' _ latitude label=loc('Report a problem here') attrs='class="report-a-problem-btn"' ~%]
+[%~ ELSIF homepage_template ~%]
+ [%~ INCLUDE navitem uri='/report' label=loc('Report a problem') attrs='class="report-a-problem-btn"' ~%]
+[%~ ELSE ~%]
+ [%~ INCLUDE navitem uri='/' label=loc('Report a problem') attrs='class="report-a-problem-btn"' ~%]
+[%~ END ~%]