diff options
author | Grégoire Aubert <gregoire.aubert@sonarsource.com> | 2017-05-09 15:43:19 +0200 |
---|---|---|
committer | Grégoire Aubert <gregoire.aubert@sonarsource.com> | 2017-05-10 11:56:20 +0200 |
commit | 9821488bd9e3f764dc4f3a7fdd4beda93e870254 (patch) | |
tree | 493e62164676d84fc491b1c9421d1ae0d20100c9 /server/sonar-web/src/main/js/app/components/extensions | |
parent | a6f37fa019f167563152670e3812efb383c4eeb2 (diff) | |
download | sonarqube-9821488bd9e3f764dc4f3a7fdd4beda93e870254.tar.gz sonarqube-9821488bd9e3f764dc4f3a7fdd4beda93e870254.zip |
SONAR-8369 SONAR-8722 Sanitize page titles
Diffstat (limited to 'server/sonar-web/src/main/js/app/components/extensions')
-rw-r--r-- | server/sonar-web/src/main/js/app/components/extensions/PortfoliosPage.js | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/server/sonar-web/src/main/js/app/components/extensions/PortfoliosPage.js b/server/sonar-web/src/main/js/app/components/extensions/PortfoliosPage.js index a7f47a2fa3a..4e6da93deea 100644 --- a/server/sonar-web/src/main/js/app/components/extensions/PortfoliosPage.js +++ b/server/sonar-web/src/main/js/app/components/extensions/PortfoliosPage.js @@ -19,13 +19,18 @@ */ // @flow import React from 'react'; +import Helmet from 'react-helmet'; import GlobalPageExtension from './GlobalPageExtension'; +import { translate } from '../../../helpers/l10n'; export default function PortfoliosPage(props: Object) { return ( - <GlobalPageExtension - location={props.location} - params={{ pluginKey: 'governance', extensionKey: 'portfolios' }} - /> + <div> + <Helmet title={translate('portfolios.page')} /> + <GlobalPageExtension + location={props.location} + params={{ pluginKey: 'governance', extensionKey: 'portfolios' }} + /> + </div> ); } |