diff options
Diffstat (limited to 'server/sonar-web/src/main/js/apps/web-api')
5 files changed, 8 insertions, 16 deletions
diff --git a/server/sonar-web/src/main/js/apps/web-api/components/Action.js b/server/sonar-web/src/main/js/apps/web-api/components/Action.js index 1a3f6dbfe9f..a62bc2c4b6e 100644 --- a/server/sonar-web/src/main/js/apps/web-api/components/Action.js +++ b/server/sonar-web/src/main/js/apps/web-api/components/Action.js @@ -121,8 +121,7 @@ export default class Action extends React.PureComponent { <a className={classNames({ selected: showParams })} href="#" - onClick={this.handleShowParamsClick} - > + onClick={this.handleShowParamsClick}> Parameters </a> </li>} @@ -132,8 +131,7 @@ export default class Action extends React.PureComponent { <a className={classNames({ selected: showResponse })} href="#" - onClick={this.handleShowResponseClick} - > + onClick={this.handleShowResponseClick}> Response Example </a> </li>} @@ -143,8 +141,7 @@ export default class Action extends React.PureComponent { <a className={classNames({ selected: showChangelog })} href="#" - onClick={this.handleChangelogClick} - > + onClick={this.handleChangelogClick}> Changelog </a> </li>} diff --git a/server/sonar-web/src/main/js/apps/web-api/components/DeprecatedBadge.js b/server/sonar-web/src/main/js/apps/web-api/components/DeprecatedBadge.js index dc2653f9590..988daab5efc 100644 --- a/server/sonar-web/src/main/js/apps/web-api/components/DeprecatedBadge.js +++ b/server/sonar-web/src/main/js/apps/web-api/components/DeprecatedBadge.js @@ -27,8 +27,7 @@ export default function DeprecatedBadge({ since }) { <span className="badge badge-warning" title={translate('api_documentation.deprecation_tooltip')} - data-toggle="tooltip" - > + data-toggle="tooltip"> {label} </span> ); diff --git a/server/sonar-web/src/main/js/apps/web-api/components/InternalBadge.js b/server/sonar-web/src/main/js/apps/web-api/components/InternalBadge.js index 987f01d3720..210d30b9a2c 100644 --- a/server/sonar-web/src/main/js/apps/web-api/components/InternalBadge.js +++ b/server/sonar-web/src/main/js/apps/web-api/components/InternalBadge.js @@ -25,8 +25,7 @@ export default function InternalBadge() { <span className="badge badge-danger" title={translate('api_documentation.internal_tooltip')} - data-toggle="tooltip" - > + data-toggle="tooltip"> internal </span> ); diff --git a/server/sonar-web/src/main/js/apps/web-api/components/Menu.js b/server/sonar-web/src/main/js/apps/web-api/components/Menu.js index 63192245698..f7cd574fd41 100644 --- a/server/sonar-web/src/main/js/apps/web-api/components/Menu.js +++ b/server/sonar-web/src/main/js/apps/web-api/components/Menu.js @@ -60,8 +60,7 @@ export default class Menu extends React.PureComponent { className={classNames('list-group-item', { active: isDomainPathActive(domain.path, splat) })} - to={'/web_api/' + domain.path} - > + to={'/web_api/' + domain.path}> <h3 className="list-group-item-heading"> {domain.path} {domain.deprecated && <DeprecatedBadge />} diff --git a/server/sonar-web/src/main/js/apps/web-api/components/Search.js b/server/sonar-web/src/main/js/apps/web-api/components/Search.js index 342a8dfbd6b..ee6c8e46456 100644 --- a/server/sonar-web/src/main/js/apps/web-api/components/Search.js +++ b/server/sonar-web/src/main/js/apps/web-api/components/Search.js @@ -84,8 +84,7 @@ export default class Search extends React.PureComponent { tabIndex="0" role="checkbox" aria-checked={showInternal ? 'true' : 'false'} - onClick={onToggleInternal} - > + onClick={onToggleInternal}> Show Internal API </span> <i @@ -106,8 +105,7 @@ export default class Search extends React.PureComponent { tabIndex="0" role="checkbox" aria-checked={showDeprecated ? 'true' : 'false'} - onClick={onToggleDeprecated} - > + onClick={onToggleDeprecated}> Show Deprecated API </span> <i |