aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/web-api
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2016-03-02 09:55:02 +0100
committerStas Vilchik <vilchiks@gmail.com>2016-03-02 09:55:02 +0100
commit03c2d52498daee468d91dde23d079bee5faca375 (patch)
treee492cf5fb41a19a29673b02a65cdbc08d74d4cb3 /server/sonar-web/src/main/js/apps/web-api
parent3ed3b20309c85f972b1830b326e3b2088bd8e7a8 (diff)
downloadsonarqube-03c2d52498daee468d91dde23d079bee5faca375.tar.gz
sonarqube-03c2d52498daee468d91dde23d079bee5faca375.zip
SONAR-7357 remove red highlighting from the search menu
Diffstat (limited to 'server/sonar-web/src/main/js/apps/web-api')
-rw-r--r--server/sonar-web/src/main/js/apps/web-api/components/Search.js9
1 files changed, 5 insertions, 4 deletions
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 9ff60270d1b..b62c572a635 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
@@ -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>