Skip to content

Commit

Permalink
Add copy for deprecated reports with DisclaimerInfo component
Browse files Browse the repository at this point in the history
  • Loading branch information
howard-e committed Aug 21, 2023
1 parent ce27bc5 commit 8015688
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions client/components/DisclaimerInfo/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,14 @@ const recommendedMessageContent = (
</>
);

const deprecatedTitle = 'Deprecated Report';
const deprecatedMessageContent = (
<>
The information in this report is generated from previously set
candidate or recommended tests.
</>
);

const content = {
CANDIDATE: {
title: candidateTitle,
Expand All @@ -78,6 +86,10 @@ const content = {
RECOMMENDED: {
title: recommendedTitle,
messageContent: recommendedMessageContent
},
DEPRECATED: {
title: deprecatedTitle,
messageContent: deprecatedMessageContent
}
};

Expand Down

0 comments on commit 8015688

Please sign in to comment.