Skip to content

Commit

Permalink
Agency switcher: change OSPT link from external to internal. (#468)
Browse files Browse the repository at this point in the history
  • Loading branch information
EarthlingDavey authored Feb 29, 2024
1 parent 2fae755 commit 2c95a93
Showing 1 changed file with 2 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,10 @@
<ul class="c-intranet-switcher">

<?php
// Temporarily filtering out OSPT/JAC until site is ready to go live
// Remove OSPT hardcoded link to old intranet below when site goes live.
// Temporarily filtering out JAC/PB until site is ready to go live
// 10th Jan 2024: Parole Board added to exclude list: https://dsdmoj.atlassian.net/jira/software/c/projects/CDPT/boards/1154?selectedIssue=CDPT-1170
$modified_agency_array = array_filter($activeAgencies, function ($data) {
return !in_array($data["shortcode"], ['jac', 'ospt', 'pb']);
return !in_array($data["shortcode"], ['jac', 'pb']);
});

foreach ($modified_agency_array as $agency_id => $agency) {
Expand All @@ -65,11 +64,6 @@
}
?>

<li class="c-intranet-switcher__switch c-intranet-switcher__switch--ospt">
<a href="http://officialsolicitorandpublictrustee.intranet.service.justice.gov.uk/">Official Solicitor and
Public Trustee</a>
</li>

<li class="c-intranet-switcher__switch c-intranet-switcher__switch--yjbrh">
<a href="https://yjresourcehub.uk/">Youth Justice Board Resource Hub</a>
</li>
Expand Down

0 comments on commit 2c95a93

Please sign in to comment.