Add info box to Remote Path Mappings guiding that they are rarely required
This commit is contained in:
parent
cb27b05a6c
commit
391cdd8fc4
|
@ -1,10 +1,11 @@
|
||||||
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 Link from 'Components/Link/Link';
|
import Link from 'Components/Link/Link';
|
||||||
import PageSectionContent from 'Components/Page/PageSectionContent';
|
import PageSectionContent from 'Components/Page/PageSectionContent';
|
||||||
import { icons } from 'Helpers/Props';
|
import { icons, kinds } from 'Helpers/Props';
|
||||||
import translate from 'Utilities/String/translate';
|
import translate from 'Utilities/String/translate';
|
||||||
import EditRemotePathMappingModalConnector from './EditRemotePathMappingModalConnector';
|
import EditRemotePathMappingModalConnector from './EditRemotePathMappingModalConnector';
|
||||||
import RemotePathMapping from './RemotePathMapping';
|
import RemotePathMapping from './RemotePathMapping';
|
||||||
|
@ -50,6 +51,11 @@ class RemotePathMappings extends Component {
|
||||||
errorMessage={translate('RemotePathMappingsLoadError')}
|
errorMessage={translate('RemotePathMappingsLoadError')}
|
||||||
{...otherProps}
|
{...otherProps}
|
||||||
>
|
>
|
||||||
|
|
||||||
|
<Alert kind={kinds.INFO}>
|
||||||
|
{translate('RemotePathMappingsInfo')}
|
||||||
|
</Alert>
|
||||||
|
|
||||||
<div className={styles.remotePathMappingsHeader}>
|
<div className={styles.remotePathMappingsHeader}>
|
||||||
<div className={styles.host}>
|
<div className={styles.host}>
|
||||||
{translate('Host')}
|
{translate('Host')}
|
||||||
|
|
|
@ -929,6 +929,7 @@
|
||||||
"RemotePathMappingRemotePathHelpText": "Root path to the directory that the Download Client accesses",
|
"RemotePathMappingRemotePathHelpText": "Root path to the directory that the Download Client accesses",
|
||||||
"RemotePathMappingWrongOSPathHealthCheckMessage": "Remote download client {0} places downloads in {1} but this is not a valid {2} path. Review your remote path mappings and download client settings.",
|
"RemotePathMappingWrongOSPathHealthCheckMessage": "Remote download client {0} places downloads in {1} but this is not a valid {2} path. Review your remote path mappings and download client settings.",
|
||||||
"RemotePathMappings": "Remote Path Mappings",
|
"RemotePathMappings": "Remote Path Mappings",
|
||||||
|
"RemotePathMappingsInfo": "Remote Path Mappings are very rarely required, it is better to match your download path client to your local paths.",
|
||||||
"RemotePathMappingsLoadError": "Unable to load Remote Path Mappings",
|
"RemotePathMappingsLoadError": "Unable to load Remote Path Mappings",
|
||||||
"Remove": "Remove",
|
"Remove": "Remove",
|
||||||
"RemoveCompleted": "Remove Completed",
|
"RemoveCompleted": "Remove Completed",
|
||||||
|
|
Loading…
Reference in New Issue