-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #441 from EyeSeeTea/development
Release 1.0.5
- Loading branch information
Showing
3 changed files
with
7 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,8 +5,8 @@ msgstr "" | |
"Content-Type: text/plain; charset=utf-8\n" | ||
"Content-Transfer-Encoding: 8bit\n" | ||
"Plural-Forms: nplurals=2; plural=(n != 1)\n" | ||
"POT-Creation-Date: 2022-04-11T08:24:13.553Z\n" | ||
"PO-Revision-Date: 2022-04-11T08:24:13.553Z\n" | ||
"POT-Creation-Date: 2022-04-19T06:23:28.846Z\n" | ||
"PO-Revision-Date: 2022-04-19T06:23:28.846Z\n" | ||
|
||
msgid "Name" | ||
msgstr "" | ||
|
@@ -48,7 +48,7 @@ msgstr "" | |
msgid "" | ||
"PLEASE NOTE: monthly % achieved dashboards are not functional in this " | ||
"version of Platform, but plan to be restored by May 31. In the interim, " | ||
"reach out to [email protected] if you need visibility on this data." | ||
"reach out to {{recipients}} if you need visibility on this data." | ||
msgstr "" | ||
|
||
msgid "Cannot load dashboard" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,7 +29,7 @@ interface State { | |
|
||
const Dashboard: React.FC<DashboardProps> = props => { | ||
const { id, name, backUrl } = props; | ||
const { dhis2Url: baseUrl } = useAppContext(); | ||
const { dhis2Url: baseUrl, appConfig } = useAppContext(); | ||
|
||
// We must set a large initial height, otherwise only the top items of the dashboards are rendered. | ||
const [state, setState] = React.useState<State>({ type: "loading", height: 10000 }); | ||
|
@@ -41,8 +41,8 @@ const Dashboard: React.FC<DashboardProps> = props => { | |
const appHistory = useAppHistory(backUrl); | ||
|
||
const temporalMessageForVersion_2_36_8 = i18n.t( | ||
"PLEASE NOTE: monthly % achieved dashboards are not functional in this version of Platform, but plan to be restored by May 31. In the interim, reach out to [email protected] if you need visibility on this data.", | ||
{ nsSeparator: false } | ||
"PLEASE NOTE: monthly % achieved dashboards are not functional in this version of Platform, but plan to be restored by May 31. In the interim, reach out to {{recipients}} if you need visibility on this data.", | ||
{ recipients: appConfig.app.notifyEmailOnProjectSave.join(" / "), nsSeparator: false } | ||
); | ||
|
||
React.useEffect(() => { | ||
|