Skip to content

Commit

Permalink
[Brent] [Waste] Update general waste bin signposting text.
Browse files Browse the repository at this point in the history
  • Loading branch information
neprune committed Jan 21, 2025
1 parent 5a12ead commit ec7b603
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
4 changes: 3 additions & 1 deletion t/cobrand/brent.t
Original file line number Diff line number Diff line change
Expand Up @@ -1166,13 +1166,14 @@ FixMyStreet::override_config {
$mech->content_contains('every Thursday', 'food showing right schedule');

subtest 'test requesting a container' => sub {
set_fixed_time('2025-01-27T12:00:00Z'); # After new general bin notice text
$mech->log_in_ok($user1->email);
$mech->get_ok('/waste/12345');
$mech->content_contains('Request a recycling container');
$mech->follow_link_ok({url => 'http://brent.fixmystreet.com/waste/12345/request'});

$mech->submit_form_ok({ with_fields => { 'container-choice' => 16 } }, "Choose refuse bin");
$mech->content_contains('please call');
$mech->content_contains('Request a new or replacement rubbish bin');
$mech->back;

$mech->submit_form_ok({ with_fields => { 'container-choice' => 13 } }, "Choose garden bin");
Expand Down Expand Up @@ -1228,6 +1229,7 @@ FixMyStreet::override_config {
# No sent email, only logged email
my $body = $mech->get_text_body_from_email;
like $body, qr/We aim to deliver this container/;
restore_time();
};

sub make_request {
Expand Down
9 changes: 9 additions & 0 deletions templates/web/brent/waste/refuse_call_us.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,25 @@
[% INCLUDE 'waste/_address_display.html' %]
[% END %]

[% IF date.format > 20250126 %]
<h1 class="govuk-heading-xl">Please contact us</h1>
[% ELSE %]
<h1 class="govuk-heading-xl">Please call us</h1>
[% END %]

<p class="govuk-body">New and replacement rubbish bins cost:</p>
<ul class="govuk-list govuk-list--bullet">
<li>£65 for a 140 litre bin</li>
<li>£80 for a 240 litre and above (subject to criteria).</li>
</ul>
[% IF date.format > 20250126 %]
<p class="govuk-body"><a href="https://brent-self.achieveservice.com/en/AchieveForms/?form_uri=sandbox-publish://AF-Form-cbd6c86f-4b36-47e5-b571-c86e6fcefaef/definition.json&redirectlink=%2Fen&cancelRedirectLink=%2Fen&consentMessage=yes">Request a new or replacement rubbish bin</a>.
</p>
[% ELSE %]
<p class="govuk-body">To request one please call our contact centre on 020 8937 5050,
Monday to Friday, 9am to 5pm (except Bank holidays) or email
<a href="mailto:[email protected]">[email protected]</a>.</p>
[% END %]

<p class="govuk-body">Please note that all requests for new or replacement bins will
be assessed by our Waste and Recycling team. If your request is approved by the team,
Expand Down

0 comments on commit ec7b603

Please sign in to comment.