Skip to content

Commit

Permalink
Add RC message (#1105)
Browse files Browse the repository at this point in the history
* Rename thirteen to fourteen

* RC warning message
  • Loading branch information
caleballdrin authored Sep 30, 2024
1 parent 0f716c5 commit 2f9d4a3
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/Reports/EmptyReport/EmptyReport.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export default {

export const Default = (): ReactElement => (
<EmptyReport
title="You have received no donations in the last thirteen months"
title="You have received no donations in the last fourteen months"
subTitle="You can setup an organization account to import them or add a new donation."
/>
);
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ export const FourteenMonthReport: React.FC<Props> = ({
) : (
<EmptyReport
title={t(
'You have received no donations in the last thirteen months',
'You have received no donations in the last fourteen months',
)}
subTitle={t(
'You can setup an organization account to import them or add a new donation.',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
import React, { useMemo } from 'react';
import { Box, CircularProgress, Divider, Typography } from '@mui/material';
import {
Alert,
Box,
CircularProgress,
Divider,
Typography,
} from '@mui/material';
import { styled } from '@mui/material/styles';
import { useTranslation } from 'react-i18next';
import { Notification } from 'src/components/Notification/Notification';
Expand Down Expand Up @@ -207,6 +213,11 @@ export const ResponsibilityCentersReport: React.FC<Props> = ({
/>
) : (
<ScrollBox data-testid="ResponsibilityCentersScrollBox">
<Alert severity="warning">
{t(
'The Responsibility Centers page has some features that are not working. Developers are prioritizing this issue and it should be ready in the next few days. Please check back later.',
)}
</Alert>
<Divider />
{financialAccountsGroups?.map((financialAccountGroup) => {
const accounts: Account[] =
Expand Down

0 comments on commit 2f9d4a3

Please sign in to comment.