]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-7357 remove red highlighting from the search menu
authorStas Vilchik <vilchiks@gmail.com>
Wed, 2 Mar 2016 08:55:02 +0000 (09:55 +0100)
committerStas Vilchik <vilchiks@gmail.com>
Wed, 2 Mar 2016 08:55:02 +0000 (09:55 +0100)
server/sonar-web/src/main/js/apps/web-api/components/Search.js

index 9ff60270d1b63d23582af804193f363b3823460e..b62c572a635d98cad1fd9bef3683a5b94ec75208 100644 (file)
@@ -20,9 +20,8 @@
 import _ from 'underscore';
 import React from 'react';
 
-import DeprecatedBadge from './DeprecatedBadge';
-import InternalBadge from './InternalBadge';
 import Checkbox from '../../../components/shared/checkbox';
+import { translate } from '../../../helpers/l10n';
 
 export default class Search extends React.Component {
   constructor (props) {
@@ -64,8 +63,9 @@ export default class Search extends React.Component {
             {' '}
             <span
                 style={{ cursor: 'pointer' }}
+                title={translate('api_documentation.internal_tooltip')}
                 onClick={onToggleInternal}>
-              <InternalBadge/>
+              Show Internal API
             </span>
           </div>
 
@@ -76,8 +76,9 @@ export default class Search extends React.Component {
             {' '}
             <span
                 style={{ cursor: 'pointer' }}
+                title={translate('api_documentation.deprecation_tooltip')}
                 onClick={onToggleDeprecated}>
-              Only <DeprecatedBadge/>
+              Show Only Deprecated API
             </span>
           </div>
         </div>