Skip to content

Commit

Permalink
Release notes add notice message
Browse files Browse the repository at this point in the history
  • Loading branch information
xavierfacq committed Nov 9, 2024
1 parent 914cfaa commit 87e27e1
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,18 @@ exports[`ReleaseNotesRender component > should render correctly - version not de
<p>
This section organizes the changes in the selected update release by the main component under which each issue is filed.
</p>
<p>
<strong>
NOTE:
</strong>
These are the release notes for the latest LTS version. If you need a different version, please visit the
<a
href="/temurin/releases/"
>
download page
</a>
to select another one.
</p>
<p>
<strong>
The total number of fixes marked as P1 is: 2
Expand Down Expand Up @@ -893,6 +905,18 @@ exports[`ReleaseNotesRender component > should render correctly 1`] = `
<p>
This section organizes the changes in the selected update release by the main component under which each issue is filed.
</p>
<p>
<strong>
NOTE:
</strong>
These are the release notes for the latest LTS version. If you need a different version, please visit the
<a
href="/temurin/releases/"
>
download page
</a>
to select another one.
</p>
<p>
<strong>
The total number of fixes marked as P1 is: 2
Expand Down
3 changes: 3 additions & 0 deletions src/components/ReleaseNotesRender/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,9 @@ const ReleaseNotesRender = (): null | JSX.Element => {
) : (
<>
<p>This section organizes the changes in the selected update release by the main component under which each issue is filed.</p>
{version !== releaseNotesVersion &&
<p><strong>NOTE:</strong> These are the release notes for the latest LTS version. If you need a different version, please visit the <a href='/temurin/releases/'>download page</a> to select another one.</p>
}
<p><strong>{`The total number of fixes marked as P1 is: ${totalP1}`}</strong></p>
<DataGrid
aria-label='Release Notes'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,18 @@ exports[`Temurin Release Notes page > renders correctly 1`] = `
<p>
This section organizes the changes in the selected update release by the main component under which each issue is filed.
</p>
<p>
<strong>
NOTE:
</strong>
These are the release notes for the latest LTS version. If you need a different version, please visit the
<a
href="/temurin/releases/"
>
download page
</a>
to select another one.
</p>
<p>
<strong>
The total number of fixes marked as P1 is: 1
Expand Down

0 comments on commit 87e27e1

Please sign in to comment.