diff options
Diffstat (limited to 'webapp/components/admin_console/reload_config.jsx')
-rw-r--r-- | webapp/components/admin_console/reload_config.jsx | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/webapp/components/admin_console/reload_config.jsx b/webapp/components/admin_console/reload_config.jsx index 19395fa53..633993296 100644 --- a/webapp/components/admin_console/reload_config.jsx +++ b/webapp/components/admin_console/reload_config.jsx @@ -6,7 +6,7 @@ import React from 'react'; import Client from 'utils/web_client.jsx'; import * as Utils from 'utils/utils.jsx'; -import {FormattedMessage} from 'react-intl'; +import {FormattedMessage, FormattedHTMLMessage} from 'react-intl'; export default class ReloadConfigButton extends React.Component { constructor(props) { @@ -64,6 +64,13 @@ export default class ReloadConfigButton extends React.Component { ); } + let helpText = ( + <FormattedHTMLMessage + id='admin.reload.reloadDescription' + defaultMessage='Deployments using multiple databases can switch from one master database to another without restarting the Mattermost server by updating "config.json" to the new desired configuration and using the <b>Reload Configuration from Disk</b> feature to load the new settings while the server is running. The administrator should then use the <a href="../advanced/database"><b>Database > Recycle Database Connections</b></a> feature to recycle the database connections based on the new settings.' + /> + ); + let contents = null; if (this.state.loading) { contents = ( @@ -93,8 +100,11 @@ export default class ReloadConfigButton extends React.Component { </button> {testMessage} </div> + <div className='help-text'> + {helpText} + </div> </div> </div> ); } -}
\ No newline at end of file +} |