aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/projects-admin
diff options
context:
space:
mode:
authorGrégoire Aubert <gregoire.aubert@sonarsource.com>2017-05-09 15:43:19 +0200
committerGrégoire Aubert <gregoire.aubert@sonarsource.com>2017-05-10 11:56:20 +0200
commit9821488bd9e3f764dc4f3a7fdd4beda93e870254 (patch)
tree493e62164676d84fc491b1c9421d1ae0d20100c9 /server/sonar-web/src/main/js/apps/projects-admin
parenta6f37fa019f167563152670e3812efb383c4eeb2 (diff)
downloadsonarqube-9821488bd9e3f764dc4f3a7fdd4beda93e870254.tar.gz
sonarqube-9821488bd9e3f764dc4f3a7fdd4beda93e870254.zip
SONAR-8369 SONAR-8722 Sanitize page titles
Diffstat (limited to 'server/sonar-web/src/main/js/apps/projects-admin')
-rw-r--r--server/sonar-web/src/main/js/apps/projects-admin/main.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/apps/projects-admin/main.js b/server/sonar-web/src/main/js/apps/projects-admin/main.js
index cb1c99b30f3..01b9b56fb11 100644
--- a/server/sonar-web/src/main/js/apps/projects-admin/main.js
+++ b/server/sonar-web/src/main/js/apps/projects-admin/main.js
@@ -19,14 +19,16 @@
*/
// @flow
import React from 'react';
+import Helmet from 'react-helmet';
import { debounce, uniq, without } from 'lodash';
import Header from './header';
import Search from './search';
import Projects from './projects';
import CreateProjectForm from './CreateProjectForm';
+import ListFooter from '../../components/controls/ListFooter';
import { PAGE_SIZE, TYPE } from './constants';
import { getComponents, getProvisioned, getGhosts, deleteComponents } from '../../api/components';
-import ListFooter from '../../components/controls/ListFooter';
+import { translate } from '../../helpers/l10n';
import type { Organization } from '../../store/organizations/duck';
type Props = {|
@@ -231,6 +233,8 @@ export default class Main extends React.PureComponent {
render() {
return (
<div className="page page-limited" id="projects-management-page">
+ <Helmet title={translate('projects_management')} />
+
<Header
hasProvisionPermission={this.props.hasProvisionPermission}
onProjectCreate={this.openCreateProjectForm}