diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2016-10-27 15:27:28 +0200 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2016-10-27 16:10:33 +0200 |
commit | 2e67a1f7e914bb4f62ff216194a584ece54dcca1 (patch) | |
tree | 354bdb7c51d02aea3875d0fae8ece1d595fa8f38 /server/sonar-web/src/main/js/apps/web-api/components | |
parent | 0b6da814d228080096781457a6a4ba04d072c79d (diff) | |
download | sonarqube-2e67a1f7e914bb4f62ff216194a584ece54dcca1.tar.gz sonarqube-2e67a1f7e914bb4f62ff216194a584ece54dcca1.zip |
fix deprecation badge color on web api page
Diffstat (limited to 'server/sonar-web/src/main/js/apps/web-api/components')
-rw-r--r-- | server/sonar-web/src/main/js/apps/web-api/components/Params.js | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/server/sonar-web/src/main/js/apps/web-api/components/Params.js b/server/sonar-web/src/main/js/apps/web-api/components/Params.js index 9b89a7eccd4..87762c45ba0 100644 --- a/server/sonar-web/src/main/js/apps/web-api/components/Params.js +++ b/server/sonar-web/src/main/js/apps/web-api/components/Params.js @@ -20,6 +20,7 @@ import React from 'react'; import InternalBadge from './InternalBadge'; +import DeprecatedBadge from './DeprecatedBadge'; export default function Params ({ params }) { return ( @@ -31,7 +32,7 @@ export default function Params ({ params }) { <td style={{ width: 180 }}> <code>{param.key}</code> {param.internal && ( - <span className="spacer-left"> + <span className="spacer-left"> <InternalBadge/> </span> )} @@ -48,9 +49,7 @@ export default function Params ({ params }) { {param.deprecatedSince && ( <div className="little-spacer-top"> - <span className="badge badge-danger"> - deprecated since {param.deprecatedSince} - </span> + <DeprecatedBadge since={param.deprecatedSince}/> </div> )} </td> |