Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Agency switcher: change OSPT link from external to internal. #468

Merged
merged 1 commit into from
Feb 29, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading