diff options
Diffstat (limited to 'webapp/components/admin_console')
-rw-r--r-- | webapp/components/admin_console/ldap_test_button.jsx | 40 |
1 files changed, 22 insertions, 18 deletions
diff --git a/webapp/components/admin_console/ldap_test_button.jsx b/webapp/components/admin_console/ldap_test_button.jsx index fbe348158..082c13b1b 100644 --- a/webapp/components/admin_console/ldap_test_button.jsx +++ b/webapp/components/admin_console/ldap_test_button.jsx @@ -66,28 +66,32 @@ export default class LdapTestButton extends React.Component { let message = null; if (this.state.fail) { message = ( - <div className='alert alert-warning'> - <i className='fa fa-warning'/> - <FormattedMessage - id='admin.ldap.testFailure' - defaultMessage='LDAP Test Failure: {error}' - values={{ - error: this.state.fail - }} - /> + <div> + <div className='alert alert-warning'> + <i className='fa fa-warning'/> + <FormattedMessage + id='admin.ldap.testFailure' + defaultMessage='LDAP Test Failure: {error}' + values={{ + error: this.state.fail + }} + /> + </div> </div> ); } else if (this.state.success) { message = ( - <div className='alert alert-success'> - <i className='fa fa-success'/> - <FormattedMessage - id='admin.ldap.testSuccess' - defaultMessage='LDAP Test Successful' - values={{ - error: this.state.fail - }} - /> + <div> + <div className='alert alert-success'> + <i className='fa fa-success'/> + <FormattedMessage + id='admin.ldap.testSuccess' + defaultMessage='LDAP Test Successful' + values={{ + error: this.state.fail + }} + /> + </div> </div> ); } |