diff options
Diffstat (limited to 'webapp/components/admin_console')
12 files changed, 21 insertions, 21 deletions
diff --git a/webapp/components/admin_console/admin_navbar_dropdown.jsx b/webapp/components/admin_console/admin_navbar_dropdown.jsx index 0bac263ef..f57635a11 100644 --- a/webapp/components/admin_console/admin_navbar_dropdown.jsx +++ b/webapp/components/admin_console/admin_navbar_dropdown.jsx @@ -77,7 +77,7 @@ export default class AdminNavbarDropdown extends React.Component { <li key='teamDiv' className='divider' - ></li> + /> ); } @@ -118,7 +118,7 @@ export default class AdminNavbarDropdown extends React.Component { <li key='teamDiv' className='divider' - ></li> + /> <li> <a href='#' diff --git a/webapp/components/admin_console/admin_sidebar.jsx b/webapp/components/admin_console/admin_sidebar.jsx index 8600e1e8c..ddaa47ff8 100644 --- a/webapp/components/admin_console/admin_sidebar.jsx +++ b/webapp/components/admin_console/admin_sidebar.jsx @@ -124,7 +124,7 @@ export default class AdminSidebar extends React.Component { > <i className='fa fa-plus' - ></i> + /> </a> </OverlayTrigger> </span> diff --git a/webapp/components/admin_console/audits.jsx b/webapp/components/admin_console/audits.jsx index cb500f29c..5e0e03607 100644 --- a/webapp/components/admin_console/audits.jsx +++ b/webapp/components/admin_console/audits.jsx @@ -86,7 +86,7 @@ export default class Audits extends React.Component { className='btn btn-link pull-right' onClick={this.reload} > - <i className='fa fa-refresh'></i> + <i className='fa fa-refresh'/> <FormattedMessage id='admin.audits.reload' defaultMessage='Reload User Activity Logs' diff --git a/webapp/components/admin_console/cluster_settings.jsx b/webapp/components/admin_console/cluster_settings.jsx index f45bafa6d..8aab905e4 100644 --- a/webapp/components/admin_console/cluster_settings.jsx +++ b/webapp/components/admin_console/cluster_settings.jsx @@ -82,7 +82,7 @@ export default class ClusterSettings extends AdminSettings { style={{marginBottom: '10px'}} className='alert alert-warning' > - <i className='fa fa-warning'></i> + <i className='fa fa-warning'/> <FormattedHTMLMessage id='admin.cluster.loadedFrom' defaultMessage='This configuration file was loaded from Node ID {clusterId}. Please see the Troubleshooting Guide in our <a href="http://docs.mattermost.com/deployment/cluster.html" target="_blank">documentation</a> if you are accessing the System Console through a load balancer and experiencing issues.' @@ -101,7 +101,7 @@ export default class ClusterSettings extends AdminSettings { style={{marginBottom: '10px'}} className='alert alert-warning' > - <i className='fa fa-warning'></i> + <i className='fa fa-warning'/> <FormattedMessage id='admin.cluster.should_not_change' defaultMessage='WARNING: These settings may not sync with the other servers in the cluster. High Availability inter-node communication will not start until you modify the config.json to be identical on all servers and restart Mattermost. Please see the <a href="http://docs.mattermost.com/deployment/cluster.html" target="_blank">documentation</a> on how to add or remove a server from the cluster. If you are accessing the System Console through a load balancer and experiencing issues, please see the Troubleshooting Guide in our <a href="http://docs.mattermost.com/deployment/cluster.html" target="_blank">documentation</a>.' diff --git a/webapp/components/admin_console/cluster_table.jsx b/webapp/components/admin_console/cluster_table.jsx index c8a98fd76..4aca796a0 100644 --- a/webapp/components/admin_console/cluster_table.jsx +++ b/webapp/components/admin_console/cluster_table.jsx @@ -121,7 +121,7 @@ export default class ClusterTable extends React.Component { className='btn btn-link' onClick={this.props.reload} > - <i className='fa fa-refresh'></i> + <i className='fa fa-refresh'/> <FormattedMessage id='admin.cluster.status_table.reload' defaultMessage=' Reload Cluster Status' diff --git a/webapp/components/admin_console/compliance_reports.jsx b/webapp/components/admin_console/compliance_reports.jsx index eb7faa0f6..aac09c0de 100644 --- a/webapp/components/admin_console/compliance_reports.jsx +++ b/webapp/components/admin_console/compliance_reports.jsx @@ -201,7 +201,7 @@ export default class ComplianceReports extends React.Component { <table className='table'> <thead> <tr> - <th></th> + <th/> <th> <FormattedMessage id='admin.compliance_table.timestamp' @@ -373,7 +373,7 @@ export default class ComplianceReports extends React.Component { className='btn btn-link' onClick={this.reload} > - <i className='fa fa-refresh'></i> + <i className='fa fa-refresh'/> <FormattedMessage id='admin.compliance_reports.reload' defaultMessage='Reload Completed Compliance Reports' diff --git a/webapp/components/admin_console/email_connection_test.jsx b/webapp/components/admin_console/email_connection_test.jsx index 7713f0960..f96d540d6 100644 --- a/webapp/components/admin_console/email_connection_test.jsx +++ b/webapp/components/admin_console/email_connection_test.jsx @@ -64,7 +64,7 @@ export default class EmailConnectionTestButton extends React.Component { if (this.state.success) { testMessage = ( <div className='alert alert-success'> - <i className='fa fa-check'></i> + <i className='fa fa-check'/> <FormattedMessage id='admin.email.emailSuccess' defaultMessage='No errors were reported while sending an email. Please check your inbox to make sure.' @@ -74,7 +74,7 @@ export default class EmailConnectionTestButton extends React.Component { } else if (this.state.fail) { testMessage = ( <div className='alert alert-warning'> - <i className='fa fa-warning'></i> + <i className='fa fa-warning'/> <FormattedMessage id='admin.email.emailFail' defaultMessage='Connection unsuccessful: {error}' diff --git a/webapp/components/admin_console/ldap_test_button.jsx b/webapp/components/admin_console/ldap_test_button.jsx index 16a433c23..e077aec5f 100644 --- a/webapp/components/admin_console/ldap_test_button.jsx +++ b/webapp/components/admin_console/ldap_test_button.jsx @@ -96,7 +96,7 @@ export default class LdapTestButton extends React.Component { ); } - let helpText = ( + const helpText = ( <FormattedHTMLMessage id='admin.ldap.testHelpText' defaultMessage='Tests if the Mattermost server can connect to the AD/LDAP server specified. See log file for more detailed error messages.' diff --git a/webapp/components/admin_console/recycle_db.jsx b/webapp/components/admin_console/recycle_db.jsx index db13b5295..53e8e7436 100644 --- a/webapp/components/admin_console/recycle_db.jsx +++ b/webapp/components/admin_console/recycle_db.jsx @@ -45,14 +45,14 @@ export default class RecycleDbButton extends React.Component { render() { if (global.window.mm_license.IsLicensed !== 'true') { - return <div></div>; + return <div/>; } let testMessage = null; if (this.state.fail) { testMessage = ( <div className='alert alert-warning'> - <i className='fa fa-warning'></i> + <i className='fa fa-warning'/> <FormattedMessage id='admin.recycle.reloadFail' defaultMessage='Recycling unsuccessful: {error}' @@ -64,7 +64,7 @@ export default class RecycleDbButton extends React.Component { ); } - let helpText = ( + const helpText = ( <FormattedHTMLMessage id='admin.recycle.recycleDescription' 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 <a href="../general/configuration"><b>Configuration > Reload Configuration from Disk</b></a> feature to load the new settings while the server is running. The administrator should then use <b>Recycle Database Connections</b> feature to recycle the database connections based on the new settings.' diff --git a/webapp/components/admin_console/reload_config.jsx b/webapp/components/admin_console/reload_config.jsx index cf65fee8b..0b50d5803 100644 --- a/webapp/components/admin_console/reload_config.jsx +++ b/webapp/components/admin_console/reload_config.jsx @@ -48,14 +48,14 @@ export default class ReloadConfigButton extends React.Component { render() { if (global.window.mm_license.IsLicensed !== 'true') { - return <div></div>; + return <div/>; } let testMessage = null; if (this.state.fail) { testMessage = ( <div className='alert alert-warning'> - <i className='fa fa-warning'></i> + <i className='fa fa-warning'/> <FormattedMessage id='admin.reload.reloadFail' defaultMessage='Reload unsuccessful: {error}' @@ -67,7 +67,7 @@ export default class ReloadConfigButton extends React.Component { ); } - let helpText = ( + const 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.' diff --git a/webapp/components/admin_console/sync_now_button.jsx b/webapp/components/admin_console/sync_now_button.jsx index e91f902bf..95d126291 100644 --- a/webapp/components/admin_console/sync_now_button.jsx +++ b/webapp/components/admin_console/sync_now_button.jsx @@ -53,7 +53,7 @@ export default class SyncNowButton extends React.Component { if (this.state.fail) { failMessage = ( <div className='alert alert-warning'> - <i className='fa fa-warning'></i> + <i className='fa fa-warning'/> <FormattedMessage id='admin.ldap.syncFailure' defaultMessage='Sync Failure: {error}' @@ -65,7 +65,7 @@ export default class SyncNowButton extends React.Component { ); } - let helpText = ( + const helpText = ( <FormattedHTMLMessage id='admin.ldap.syncNowHelpText' defaultMessage='Initiates an AD/LDAP synchronization immediately.' diff --git a/webapp/components/admin_console/user_item.jsx b/webapp/components/admin_console/user_item.jsx index 632233309..1e6f523b3 100644 --- a/webapp/components/admin_console/user_item.jsx +++ b/webapp/components/admin_console/user_item.jsx @@ -562,7 +562,7 @@ export default class UserItem extends React.Component { aria-expanded='true' > <span>{currentRoles} </span> - <span className='caret'></span> + <span className='caret'/> </a> <ul className='dropdown-menu member-menu' |