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

Update cerner redirect alert #33792

Merged
merged 1 commit into from
Dec 30, 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
46 changes: 26 additions & 20 deletions src/applications/vaos/components/CernerAlert.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,34 +29,40 @@ export default function CernerAlert({ className, pageTitle, level = 2 }) {
: 'these facilities'
}, go to My VA Health`}
</H>
<ul>
{/* <ListItem facilities={cernerFacilities} /> */}
{cernerFacilities.map(facility => (
<li key={facility.vhaId}>{facility.vamcFacilityName}</li>
))}
</ul>
{cernerFacilities.length === 1 ? (
<p>
Some of your appointments may be in a different portal. To view
or manage appointments at {cernerFacilities[0].vamcFacilityName}
, go to My VA Health.
</p>
) : (
<>
<p>
Some of your appointments may be in a different portal. To
view or manage appointments at these facilities, go to My VA
Health:
</p>
<ul>
{cernerFacilities.map(facility => (
<li key={facility.vhaId}>{facility.vamcFacilityName}</li>
))}
</ul>
</>
)}
<a
className="vads-c-action-link--blue vads-u-margin-bottom--1"
onClick={handleClick}
href={getCernerURL('/pages/scheduling/upcoming', true)}
rel="noreferrer noopener"
target="_blank"
>
Go to My VA Health
Go to My VA Health (opens in new tab)
</a>
<va-additional-info
trigger="Having trouble opening My VA Health?"
uswds
>
Try these steps:
<ul className="vads-u-margin-left--1p5">
<li>Disable your browser's pop-up blocker</li>
<li>
Sign in to My VA health with the same account you used to sign
in to VA.gov
</li>
</ul>
</va-additional-info>
<p>
<strong>Note:</strong> Having trouble opening My VA Health? Try
disabling your browser’s pop-up blocker or signing in to My VA
Health with the same account you used to sign in to VA.gov.
</p>
</va-alert>
</div>
)}
Expand Down
Loading