diff options
5 files changed, 34 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/Cobrand/Hounslow.pm b/perllib/FixMyStreet/Cobrand/Hounslow.pm index f54b3ae3a..04533ce80 100644 --- a/perllib/FixMyStreet/Cobrand/Hounslow.pm +++ b/perllib/FixMyStreet/Cobrand/Hounslow.pm @@ -16,6 +16,11 @@ sub base_url { return 'https://fms.hounslowhighways.org'; } +sub enter_postcode_text { + my ($self) = @_; + return "Enter a Hounslow street name and area, or postcode"; +} + sub disambiguate_location { my $self = shift; my $string = shift; @@ -66,5 +71,13 @@ sub open311_config { $row->set_extra_fields(@$extra); } +sub should_skip_sending_update { + my ($self, $update ) = @_; + + # Hounslow don't want to receive updates into Confirm that were made by + # anyone except the original problem reporter. + return $update->user_id != $update->problem->user_id; +} + 1; diff --git a/templates/web/hounslow/report/new/_form_labels.html b/templates/web/hounslow/report/new/_form_labels.html new file mode 100644 index 000000000..971715fa8 --- /dev/null +++ b/templates/web/hounslow/report/new/_form_labels.html @@ -0,0 +1,3 @@ +[% +SET form_title = 'Summarise the problem and location'; +%]
\ No newline at end of file diff --git a/templates/web/hounslow/report/new/after_photo.html b/templates/web/hounslow/report/new/after_photo.html new file mode 100644 index 000000000..e8fac0d2a --- /dev/null +++ b/templates/web/hounslow/report/new/after_photo.html @@ -0,0 +1,8 @@ +<div class="description_tips" aria-label="Tips for perfect photos"> + <ul class="do"> + <li>To help us locate the problem, include both a close-up and a wide shot</li> + </ul> + <ul class="dont"> + <li>Avoid personal information</li> + </ul> +</div> diff --git a/templates/web/hounslow/report/update/form_state_checkbox.html b/templates/web/hounslow/report/update/form_state_checkbox.html new file mode 100644 index 000000000..e69de29bb --- /dev/null +++ b/templates/web/hounslow/report/update/form_state_checkbox.html diff --git a/templates/web/hounslow/report/updates-sidebar-notes.html b/templates/web/hounslow/report/updates-sidebar-notes.html new file mode 100644 index 000000000..2673abc77 --- /dev/null +++ b/templates/web/hounslow/report/updates-sidebar-notes.html @@ -0,0 +1,10 @@ +<p class="box-warning"> +[% IF problem.is_open %] + <strong>Please note:</strong> If the problem has worsened, please open a new report instead of updating this one. +[% ELSE %] + If this problem is still ongoing, please open a new report instead of updating this one. +[% END %] +</p> +<p> + [% loc( 'Your information will only be used in accordance with our <a href="/privacy">privacy policy</a>.' ) %] +</p> |