mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-19 21:13:28 -07:00
Add info box under health messages
(cherry picked from commit 936ef9f461c3e80a36099508c420dc44d8cd293c) Closes #4073
This commit is contained in:
parent
e2fd830059
commit
b688f3ad0b
2 changed files with 9 additions and 0 deletions
|
@ -1,10 +1,12 @@
|
||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
|
import Alert from 'Components/Alert';
|
||||||
import FieldSet from 'Components/FieldSet';
|
import FieldSet from 'Components/FieldSet';
|
||||||
import Icon from 'Components/Icon';
|
import Icon from 'Components/Icon';
|
||||||
import IconButton from 'Components/Link/IconButton';
|
import IconButton from 'Components/Link/IconButton';
|
||||||
import SpinnerIconButton from 'Components/Link/SpinnerIconButton';
|
import SpinnerIconButton from 'Components/Link/SpinnerIconButton';
|
||||||
import LoadingIndicator from 'Components/Loading/LoadingIndicator';
|
import LoadingIndicator from 'Components/Loading/LoadingIndicator';
|
||||||
|
import InlineMarkdown from 'Components/Markdown/InlineMarkdown';
|
||||||
import TableRowCell from 'Components/Table/Cells/TableRowCell';
|
import TableRowCell from 'Components/Table/Cells/TableRowCell';
|
||||||
import Table from 'Components/Table/Table';
|
import Table from 'Components/Table/Table';
|
||||||
import TableBody from 'Components/Table/TableBody';
|
import TableBody from 'Components/Table/TableBody';
|
||||||
|
@ -215,6 +217,12 @@ class Health extends Component {
|
||||||
</TableBody>
|
</TableBody>
|
||||||
</Table>
|
</Table>
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
healthIssues &&
|
||||||
|
<Alert kind={kinds.INFO}>
|
||||||
|
<InlineMarkdown data={translate('HealthMessagesInfoBox', { link: '/system/logs/files' })} />
|
||||||
|
</Alert>
|
||||||
|
}
|
||||||
</FieldSet>
|
</FieldSet>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -411,6 +411,7 @@
|
||||||
"HasMonitoredAlbumsNoMonitoredAlbumsForThisArtist": "No monitored albums for this artist",
|
"HasMonitoredAlbumsNoMonitoredAlbumsForThisArtist": "No monitored albums for this artist",
|
||||||
"HasPendingChangesNoChanges": "No Changes",
|
"HasPendingChangesNoChanges": "No Changes",
|
||||||
"HasPendingChangesSaveChanges": "Save Changes",
|
"HasPendingChangesSaveChanges": "Save Changes",
|
||||||
|
"HealthMessagesInfoBox": "You can find more information about the cause of these health check messages by clicking the wiki link (book icon) at the end of the row, or by checking your [logs]({link}). If you have difficulty interpreting these messages then you can reach out to our support, at the links below.",
|
||||||
"HiddenClickToShow": "Hidden, click to show",
|
"HiddenClickToShow": "Hidden, click to show",
|
||||||
"HideAdvanced": "Hide Advanced",
|
"HideAdvanced": "Hide Advanced",
|
||||||
"HideAlbums": "Hide albums",
|
"HideAlbums": "Hide albums",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue