Skip to content

Commit

Permalink
[Bucks] Add Bucks link to privacy page
Browse files Browse the repository at this point in the history
  • Loading branch information
MorayMySoc committed May 1, 2024
1 parent 2bb344c commit c34f2ee
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions t/cobrand/bucks.t
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,11 @@ subtest 'cobrand displays correct categories' => sub {
is @{$json->{bodies}}, 2, 'Still Bucks and parish returned';
};

subtest 'privacy page contains link to Bucks privacy policy' => sub {
$mech->get_ok('/about/privacy');
$mech->content_contains('privacy-and-buckinghamshire-highways');
};

my ($report) = $mech->create_problems_for_body(1, $body->id, 'On Road', {
category => 'Flytipping', cobrand => 'fixmystreet',
latitude => 51.812244, longitude => -0.827363,
Expand Down
3 changes: 3 additions & 0 deletions templates/web/fixmystreet-uk-councils/about/privacy.html
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,9 @@ <h3>
[% END %]
who adhere to strict data-handling policies, and to [% c.cobrand.council_name %] staff,
who abide by their own data-handling and security policies.
[% IF c.cobrand.moniker == 'buckinghamshire' %]
<a href='https://www.buckinghamshire.gov.uk/your-council/privacy/privacy-information-for-specific-services/privacy-and-buckinghamshire-highways/'>Privacy and Buckinghamshire Highways</a>
[% END %]
</p>

[% IF c.cobrand.feature('updates_allowed') != 'staff' AND c.cobrand.send_questionnaires %]
Expand Down

0 comments on commit c34f2ee

Please sign in to comment.