diff options
author | Stas Vilchik <stas.vilchik@sonarsource.com> | 2017-07-17 10:07:30 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-17 10:07:30 +0200 |
commit | d5b076b2fc8988e9a3799ba7775f851e1a12cbb7 (patch) | |
tree | 3c0f98977cc487747efeeeb47974fc13e70eab97 /server/sonar-web/src/main/js/apps/tutorials/onboarding/TokenStep.js | |
parent | c8797aabc9b4d705f7da59b43717e5c0fe0e80fb (diff) | |
download | sonarqube-d5b076b2fc8988e9a3799ba7775f851e1a12cbb7.tar.gz sonarqube-d5b076b2fc8988e9a3799ba7775f851e1a12cbb7.zip |
upgrade prettier and remove prettier-eslint (#2254)
Diffstat (limited to 'server/sonar-web/src/main/js/apps/tutorials/onboarding/TokenStep.js')
-rw-r--r-- | server/sonar-web/src/main/js/apps/tutorials/onboarding/TokenStep.js | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/server/sonar-web/src/main/js/apps/tutorials/onboarding/TokenStep.js b/server/sonar-web/src/main/js/apps/tutorials/onboarding/TokenStep.js index 443d4f5c2ec..0209d26b6c8 100644 --- a/server/sonar-web/src/main/js/apps/tutorials/onboarding/TokenStep.js +++ b/server/sonar-web/src/main/js/apps/tutorials/onboarding/TokenStep.js @@ -111,8 +111,13 @@ export default class TokenStep extends React.PureComponent { <div className="boxed-group-inner"> {token != null ? <form onSubmit={this.handleTokenRevoke}> - <span className="text-middle">{tokenName}{': '}</span> - <strong className="spacer-right text-middle">{token}</strong> + <span className="text-middle"> + {tokenName} + {': '} + </span> + <strong className="spacer-right text-middle"> + {token} + </strong> {loading ? <i className="spinner text-middle" /> : <button className="button-clean text-middle" onClick={this.handleTokenRevoke}> @@ -131,7 +136,9 @@ export default class TokenStep extends React.PureComponent { /> {loading ? <i className="spinner text-middle" /> - : <button className="text-middle">{translate('onboarding.token.generate')}</button>} + : <button className="text-middle"> + {translate('onboarding.token.generate')} + </button>} </form>} <div className="note big-spacer-top width-50"> @@ -158,8 +165,11 @@ export default class TokenStep extends React.PureComponent { return ( <div className="boxed-group-actions"> <i className="icon-check spacer-right" /> - {tokenName}{': '} - <strong>{token}</strong> + {tokenName} + {': '} + <strong> + {token} + </strong> </div> ); }; |